diff options
author | Joey Hess <joey@kitenet.net> | 2011-08-20 15:13:56 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-08-20 15:13:56 -0400 |
commit | 1c928d2d414cc0423429ad7b8b25cd981d2eeb75 (patch) | |
tree | b0c38e93a894627f1c233e7c79b5ea82466b34da /dh_compress | |
parent | 416f106f1d231e742670ea51b310ec9c43971c21 (diff) | |
download | debhelper-1c928d2d414cc0423429ad7b8b25cd981d2eeb75.tar.gz |
dh_compress: Don't compress _sources documentation subdirectory as used by python-sphinx. Closes: #637492 Thanks, Jakub Wilk
Diffstat (limited to 'dh_compress')
-rwxr-xr-x | dh_compress | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dh_compress b/dh_compress index 3eb6ff24..ff98cb9d 100755 --- a/dh_compress +++ b/dh_compress @@ -108,7 +108,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) { ! -iname "*.gif" ! -iname "*.png" ! -iname "*.jpg" \\ ! -iname "*.jpeg" \\ 2>/dev/null || true; - find usr/share/doc -type f \\( -size +4k -or -name "changelog*" -or -name "NEWS*" \\) \\ + 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*" \\) \\ ! -iname "*.gif" ! -iname "*.png" ! -iname "*.jpg" \\ ! -iname "*.jpeg" ! -iname "*.gz" ! -iname "*.taz" \\ |