d/rules: do not compress /usr/share/doc/xen/html
authorHans van Kranenburg <hans@knorrie.org>
Thu, 26 Nov 2020 19:50:33 +0000 (20:50 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Fri, 26 Feb 2021 19:10:29 +0000 (20:10 +0100)
commit5b9fe8d26670ca38e3b81ba2face978b600710b8
tree0e10b4a0f9c43dfa00ca1a22ac2662f3ee2b42b7
parent3c778b6e1601a1fddae8d1a4ddf7b28ee21bc61f
d/rules: do not compress /usr/share/doc/xen/html

So, we have a xen-doc package which is already split off nicely as
binary package to contain the upstream html collection of documentation.

By default, dh_compress will gzip -9 .txt files which it considers to
be too large. However, in our case, there's some index.html with links,
and if this happens, the user who consciously installs the xen-doc
package, wanting to waste disk space on this ends up with a confusing
pile of broken links when navigating to file:///usr/share/doc/xen/html/
and browsing around.

The difference between disk space occupied when not compressing is 5.2M
vs. 5.1M before.

So, add an exclude on /usr/share/doc/xen/html

Closes: #942611
Reported-by: Diederik de Haas <didi.debian@cknow.org>
Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
debian/rules