GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
12.5. Implementation
To understand how to use the more advanced dist-related features, you must first understand how make dist is implemented. For most packages, what we have already covered suffices. Few packages need the more advanced features, although I note that many use them anyway.
The dist rules work by building a copy of the source tree and then archiving that copy. This copy is made in stages: A 'Makefile' in a particular directory updates the corresponding directory in the shadow tree. In some cases, automake is run to create a new 'Makefile.in' in the new distribution tree.
After each directory's 'Makefile' has had a chance to update the distribution directory, the appropriate command is run to create the archive. Finally, the temporary ...
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