July 2010
Intermediate to advanced
360 pages
11h 12m
English
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?