Automake向install.sh添加标志

Ada*_*luk 1 automake makefile autotools

我正在使用autotools来构建一些我希望只有在更改它们时才能安装标头的软件包.

我看到只有不同的安装install.sh标志-C,但我如何在autotools中设置该标志?

在我的Makefile.am中,如果有帮助,我提供nobase_libhello_include_HEADERS = file1.h file2.h.

thi*_*ton 5

您在调用时覆盖install命令configure:

./configure INSTALL="/usr/bin/install -C"
Run Code Online (Sandbox Code Playgroud)