]> git.saurik.com Git - apt.git/commitdiff
do not compress .xhtml files and remove junk files
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 13 Feb 2014 23:55:20 +0000 (00:55 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 14 Feb 2014 11:06:42 +0000 (12:06 +0100)
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
debian/rules

index 3aa86480e36bd090948774eb82fffc5e40c68665..1b3782ab6c76b692b15e0c6a7c09dd5fb54edd82 100755 (executable)
@@ -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$@