Codebase list frei0r / 3d4cd1c debian / patches / 1-build-doc.patch
3d4cd1c

Tree @3d4cd1c (Download .tar.gz)

1-build-doc.patch @3d4cd1craw · history · blame

Description: fix install target for doc
Author: IOhannes m zmölnig <umlaeute@debian.org>
Last-Update: 2014-05-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- frei0r.orig/doc/Makefile.am
+++ frei0r/doc/Makefile.am
@@ -22,10 +22,10 @@
 	-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)/