summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>2016-10-19 20:00:53 (GMT)
committer IOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>2016-10-19 20:00:53 (GMT)
commit151c88a7891ac935dccabc74e42d72a25805f859 (patch)
treebe4b2d1899cfdb661fffbca5e0e33bfe62b0a336
parentfa4fbae5b5ce8c78884b618bfdfced1fed5244e5 (diff)
DESTDIR support for doc/
when manually overriding "install" targets, things need to be done correctly!
-rw-r--r--doc/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 04d9f7c..c06d7e7 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -22,10 +22,10 @@ dist-hook:
-cp -ra html $(distdir)/doc/
install-data:
- install -c -m 644 -d $(htmldocs_DATA) $(htmldocsdir)
+ install -c -m 644 -d $(htmldocs_DATA) $(DESTDIR)$(htmldocsdir)
# Modify the install hook, so we can install directories
install-htmldocsDATA:
- mkdir -p $(htmldocsdir)
- cp -r ./html $(htmldocsdir)/
+ mkdir -p $(DESTDIR)$(htmldocsdir)
+ cp -r ./html $(DESTDIR)$(htmldocsdir)/