Previous: Distdefines, Up: Integrating Autodist


2.30 Autodist dependency support

Autodist support dependencies for 'Makefile.ad' and 'configure.ad' files. When these files are edited, they are processed by Autodist automatically when the source tree is compiled with 'make'. This makes development in the source tree easier, when Autodist does not have to be run manually. The dependencies can be disabled by using 'AD_DISABLE_DEPENDENCIES' macro in the 'configure.ad' file.

When editing 'configure.ad' fragments the modifcation is detected when the source tree is compiled with 'make' from the top source directory. Giving 'make' in a subdirectory will not detect a change in 'configure.ad' fragment.

Dependencies are present only in the prepared source tree. They are not delivered to created distribution, as they depend on 'Makefile.ad' and 'configure.ad' files which are not present in the created distribution. Autodist automatically removes the dependencies when the distribution is created.