From: David Kalnischkies Date: Thu, 13 Feb 2014 23:55:20 +0000 (+0100) Subject: do not compress .xhtml files and remove junk files X-Git-Tag: 0.9.15.3~17 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/c7a7271840cfc92d447f73d9a3b8ee146532b893?ds=inline;hp=--cc 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 --- c7a7271840cfc92d447f73d9a3b8ee146532b893 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$@