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

Tree @1137484 (Download .tar.gz)

1-build-doc.patch @1137484raw · history · blame

Description: build doxygen documentation during built
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/Makefile.am
+++ frei0r/Makefile.am
@@ -10,7 +10,7 @@
 
 ACLOCAL_AMFLAGS= -I m4
 
-SUBDIRS=src include
+SUBDIRS=src include doc
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = frei0r.pc
--- 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)/