diff --git a/debian/patches/1-build-doc.patch b/debian/patches/1-build-doc.patch new file mode 100644 index 0000000..a46a036 --- /dev/null +++ b/debian/patches/1-build-doc.patch @@ -0,0 +1,32 @@ +Description: build doxygen documentation during built +Author: IOhannes m zmölnig +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)/ + diff --git a/debian/patches/series b/debian/patches/series index 1450ddb..3fe0d0c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ 020130415~b1faa09.patch 020140427~fc84121.patch 1-AM_INIT_AUTOMAKE.patch +1-build-doc.patch