Skip to Main Content
Autotools
book

Autotools

by John Calcote
July 2010
Intermediate to advanced content levelIntermediate to advanced
360 pages
11h 12m
English
No Starch Press
Content preview from Autotools

Item 4: Ensuring Your Distribution Packages Are Clean

Have you ever downloaded and unpacked an open source package, and tried to run configure && make only to have it fail half way through one of these steps? As you dug into the problem, perhaps you discovered missing files in the tarball. How sad to have this happen in an Autotools project, when the Autotools make it so easy to ensure that this simply doesn't happen.

To ensure that your distribution tarballs are always clean and complete, run the distcheck target on a newly created tarball. Don't be satisfied with what you believe about your package. Allow Automake to run the distribution unit tests. I call these tests unit tests because they provide the same testing functionality for a distribution ...

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.
Start your free trial

You might also like

GNU Autoconf, Automake, and Libtool

GNU Autoconf, Automake, and Libtool

Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
Red Hat® Linux® 7 Unleashed

Red Hat® Linux® 7 Unleashed

Bill Ball, David Pitts

Publisher Resources

ISBN: 9781593272067Errata