summaryrefslogtreecommitdiff
path: root/dh_compress
diff options
context:
space:
mode:
authorOsamu Aoki <osamu@debian.org>2015-01-01 20:32:18 +0100
committerNiels Thykier <niels@thykier.net>2015-01-01 20:40:22 +0100
commitd5c08b71d7a59dfa5e082672ae2548eee7503fda (patch)
treeb433f8e83a048b3be95f1ef2f0aec0ee36a810a6 /dh_compress
parent0972742d81d108110c40943648f1f6b334b12d19 (diff)
downloaddebhelper-d5c08b71d7a59dfa5e082672ae2548eee7503fda.tar.gz
dh_compress: Skip compression of xhtml files
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_compress')
-rwxr-xr-xdh_compress2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_compress b/dh_compress
index e908dd82..3255132e 100755
--- a/dh_compress
+++ b/dh_compress
@@ -113,7 +113,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
find usr/share/doc \\
\\( -type d -name _sources -prune -false \\) -o \\
-type f \\( -size +4k -or -name "changelog*" -or -name "NEWS*" \\) \\
- \\( -name changelog.html -or ! -iname "*.htm*" \\) \\
+ \\( -name changelog.html -or ! -iname "*.htm*" -or ! -iname "*.xhtml" \\) \\
! -iname "*.gif" ! -iname "*.png" ! -iname "*.jpg" \\
! -iname "*.jpeg" ! -iname "*.gz" ! -iname "*.taz" \\
! -iname "*.tgz" ! -iname "*.z" ! -iname "*.bz2" \\