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 10: Using Incremental Installation Techniques

Some people have requested that make install be made smart enough to install only files that are not already installed, or that are newer than installed versions of the same files.

This feature is available by default to users by passing the -C command-line option to install-sh. It can be enabled directly by end users by using the following syntax on the make command line during execution of make install:

$ make install "INSTALL=/path/to/install-sh -C"

If you think your users will benefit from this option, consider adding some information about its proper use to the INSTALL file that ships with your distribution. Don't you just love features you don't have to implement?

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