diff options
author | Kevin Greenan <kmgreen2@gmail.com> | 2015-01-12 14:15:12 -0800 |
---|---|---|
committer | Kevin Greenan <kmgreen2@gmail.com> | 2015-01-12 20:35:11 -0800 |
commit | 380731b449fc1c772bd7a64e26bab630ed9f2ba5 (patch) | |
tree | 3bf84e453ca1465b928bdcd885f732b3573ab29c | |
parent | 2e153037af2539cc517388c6f6aac2184a703706 (diff) | |
download | liberasurecode-380731b449fc1c772bd7a64e26bab630ed9f2ba5.tar.gz |
Make install failing to find install-sh when installing docs
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | doc/Makefile.am | 2 | ||||
-rw-r--r-- | src/Makefile.am | 6 |
3 files changed, 8 insertions, 1 deletions
@@ -55,4 +55,5 @@ libtool # doxygen documentation ^doc/.*\.doxytag ^doc/html +^doc/latex *doxygen.cfg diff --git a/doc/Makefile.am b/doc/Makefile.am index aea521f..34ea1ff 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -23,7 +23,7 @@ install-data-local: html else \ for i in $$installfiles; do \ echo '-- Installing '$$i ; \ - $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ + ../install-sh $$i $(DESTDIR)$(TARGET_DIR); \ done; \ fi) diff --git a/src/Makefile.am b/src/Makefile.am index c6c2a21..ce6ef50 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,6 +20,12 @@ liberasurecode_la_SOURCES = \ backends/jerasure/jerasure_rs_cauchy.c \ backends/isa-l/isa_l_vand.c +# Install additional header files +liberasurecodeincludedir = $(includedir) +liberasurecodeinclude_HEADERS = \ + ../include/erasurecode/erasurecode.h \ + ../include/erasurecode/erasurecode_helpers.h + liberasurecode_la_CPPFLAGS = -Werror @GCOV_FLAGS@ liberasurecode_la_LIBADD = \ builtin/xor_codes/libXorcode.la -lpthread -lm @GCOV_LDFLAGS@ |