Next: , Previous: files, Up: Integrating Autodist

2.27 files

Autodist creates '' files from '' files. A software project do not need to use '' files if there is no need to use distdef conditionals inside makefiles. Usually a multi distribution software project, however will need to define certain things to different distributions. In these cases '' file needs to be created.

Even though it would be possible to use distdef conditionals also inside '' files, Autodist does not process '' files when preparing the source tree for configuration and compilation (see Preparing source tree). Thus, the prepared environment would not be identical to the created distribution package (when the '' will be processed), and configuration and compilation would be inconsistent. Basic rule is, if you need distdefs (see Distdefines) inside makefiles, put them inside '' file.