Reputation: 1726
I am using autotools to build some packages that I want the headers to be installed only if they are changed.
I see that install.sh
has a flag -C
for installing only if different, but how do i set that flag in autotools?
In my Makefile.am I am providing nobase_libhello_include_HEADERS = file1.h file2.h if that helps.
Upvotes: 1
Views: 421
Reputation: 36059
You override the install command when calling configure
:
./configure INSTALL="/usr/bin/install -C"
Upvotes: 5