From 380731b449fc1c772bd7a64e26bab630ed9f2ba5 Mon Sep 17 00:00:00 2001 From: Kevin Greenan Date: Mon, 12 Jan 2015 14:15:12 -0800 Subject: [PATCH] Make install failing to find install-sh when installing docs --- .gitignore | 1 + doc/Makefile.am | 2 +- src/Makefile.am | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 27497ac..9f09caf 100644 --- a/.gitignore +++ b/.gitignore @@ -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@