From 4315f2fecdcd85572ed36f2b1b17f635976f7ceb Mon Sep 17 00:00:00 2001 From: Tushar Gohad Date: Thu, 10 Dec 2015 06:23:51 -0700 Subject: [PATCH] Minor doc automake fixes --- doc/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 31804cb..c5a3b4b 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -DOC_MODULE="liberasurecode" +DOC_MODULE=@PACKAGE@ HTML_DIR=$(datadir)/$(DOC_MODULE)/html TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) @@ -16,14 +16,14 @@ clean-local: rm -rf html install-data-local: html - ../install-sh -d $(DESTDIR)$(TARGET_DIR) + $(top_srcdir)/install-sh -d $(DESTDIR)$(TARGET_DIR) (installfiles=`echo html/*`; \ if test "$$installfiles" = 'html/*'; \ then echo '-- Nothing to install' ; \ else \ for i in $$installfiles; do \ echo '-- Installing '$$i ; \ - ../install-sh $$i $(DESTDIR)$(TARGET_DIR); \ + $(top_srcdir)/install-sh $$i $(DESTDIR)$(TARGET_DIR); \ done; \ fi)