summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-02-14 00:55:20 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-02-14 12:06:42 +0100
commitc7a7271840cfc92d447f73d9a3b8ee146532b893 (patch)
tree28229832f734d4cad166e7bc420ba85a71393588
parent75b093128e7ced667f8ed89a5367af461e727736 (diff)
do not compress .xhtml files and remove junk files
dh_compress compresses .xhtml files by default, which breaks our doxygen documentation. doxygen has also a bunch of temporary files it creates which stay in the build directory and so we remove them before installing them as documentation. Closes: 738933
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 3aa86480e..1b3782ab6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -134,6 +134,7 @@ libapt-pkg-doc: build-debiandoc
#
# libapt-pkg-doc install
#
+ rm -f $(BLD)/doc/doxygen/html/*.map $(BLD)/doc/doxygen/html/*.md5
dh_installdocs -p$@ $(BLD)/docs/design* \
$(BLD)/docs/dpkg-tech* \
$(BLD)/docs/files* \
@@ -145,7 +146,7 @@ libapt-pkg-doc: build-debiandoc
dh_installchangelogs -p$@
dh_strip -p$@
- dh_compress -p$@
+ dh_compress -p$@ -X.xhtml
dh_fixperms -p$@
dh_installdeb -p$@
dh_gencontrol -p$@