Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid generate duplicated files for install command.
The module headers are already added in the top `Makefile.am`, which is introduced in 91fae3a, but the module `Makefile.am.include` will add the headers again. Steps to reproduce the issue: ./autogen.sh ./configure --enable-module-recovery --prefix /tmp/secp256k1 make make install Failure message: /usr/bin/install -c -m 644 include/secp256k1.h include/secp256k1_ecdh.h include/secp256k1_recovery.h include/secp256k1_recovery.h '/usr/local/include' /usr/bin/install: will not overwrite just-created '/usr/local/include/secp256k1_recovery.h' with 'include/secp256k1_recovery.h' Makefile:1151: recipe for target 'install-includeHEADERS' failed make[1]: *** [install-includeHEADERS] Error 1 make[1]: Leaving directory '/home/travis/secp256k1' Makefile:1578: recipe for target 'install-am' failed make: *** [install-am] Error 2 Closes bitcoin-core#624
- Loading branch information