GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
4.3. Maintaining Input Files
If you edit any of the GNU Autotools input files in your package, you must regenerate the machine-generated files for these changes to take effect. If you add a new source file to the foonly_SOURCES variable in 'Makefile.am', for instance, you must regenerate the derived file 'Makefile.in'. If you are building your package, you need to rerun configure to regenerate the site-specific 'Makefile', and then rerun make to compile the new source file and link it into 'foonly'.
It is possible to regenerate these files by running the required tools, one at a time. As you can see from the preceding discussion, it can be difficult to compute the dependencies—does a particular change require aclocal to be run? Does a particular ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access