summaryrefslogtreecommitdiff
path: root/dh_compress.1
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:12:14 +0000
committerjoey <joey>1999-08-17 05:12:14 +0000
commitf05e73ca956ba2e8a4c2b75635e94ccd7dc8554a (patch)
tree0e49c89815ee0532ecd4e50f9427becedded9c09 /dh_compress.1
parent71601004ec630641a2efa7e8bc724f525506187a (diff)
downloaddebhelper-f05e73ca956ba2e8a4c2b75635e94ccd7dc8554a.tar.gz
r191: Initial Import
Diffstat (limited to 'dh_compress.1')
-rw-r--r--dh_compress.19
1 files changed, 6 insertions, 3 deletions
diff --git a/dh_compress.1 b/dh_compress.1
index f6628334..77cd68f9 100644
--- a/dh_compress.1
+++ b/dh_compress.1
@@ -13,7 +13,9 @@ to the new files.
By default, dh_compress compresses files that debian policy mandates should
be compressed, namely all files in usr/info, usr/man, usr/X11R6/man, and
all files in usr/doc that are larger than 4k in size, except
-the copyright file, .html files and .gif files, and all changelog files.
+the copyright file, .html files and .gif files, and all changelog files. It
+skips any files that appear to be already compressed (based on their
+extentions).
.P
If a debian/package.compress file exists (debian/compress may be used for the
first binary package in debian/control), however, it will be ran as a shell
@@ -26,9 +28,10 @@ the same files as it would by default. This is a good starting point for
customization of what files are compressed:
.PP
find usr/info usr/man usr/X11*/man -type f
- find usr/doc -type f \\
+ find usr/doc -type f \\
\\( -size +4k -or -name "changelog*" \\) \\
- ! -name "*.htm*" ! -name "*.gif" \\
+ ! -name "*.htm*" ! -name "*.gif" ! -iname "*.gz" \\
+ ! -iname "*.taz" ! -iname "*.tgz" ! -iname "*.z" \\
! -name "copyright"
.SH OPTIONS
.TP