X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_compress.1;h=4e5ed9e82f2abb5933311890fcb9265036f5b608;hb=3da73dffff8be46160d58a0c1ee2566d6bf1e7f8;hp=ce8f539a0aedcbca56df57266493f400b1be7894;hpb=151fcdd2c72ee77597124c74450d66ba2840b14b;p=debhelper.git diff --git a/dh_compress.1 b/dh_compress.1 index ce8f539..4e5ed9e 100644 --- a/dh_compress.1 +++ b/dh_compress.1 @@ -1,9 +1,9 @@ -.TH DH_COMPRESS 1 +.TH DH_COMPRESS 1 "" "Debhelper Commands" "Debhelper Commands" .SH NAME dh_compress \- compress files and fix symlinks in package build directories .SH SYNOPSIS .B dh_compress -.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]" +.I "[debhelper options] [-Xitem] [-A] [file ...]" .SH "DESCRIPTION" dh_compress is a debhelper program that is responsible for compressing the files in package build directories, and makes sure that any symlinks @@ -31,39 +31,35 @@ customization of what files are compressed: ! -name "copyright" .SH OPTIONS .TP -.B \-v -Verbose mode; show all commands that modify the package build directory. +.B debhelper options +See +.BR debhelper (1) +for a list of options common to all debhelper commands. .TP -.B \-a -Compress files for all architecture dependent packages. +.B \-Xitem, \--exclude=item +Exclude files that contain "item" anywhere in their filename from being +compressed. For example, -X=.jpeg will exclude jpeg's from compression. +You may use this option multiple times to build up a list of things to +exclude. You can accomplish the same thing by using a debian/compress file, +but this is easier. .TP -.B \-i -Compress files for all architecture independent packages. +.B \-A, \--all +Compress all files specified by command line parameters in ALL packages +acted on. .TP -.B \-ppackage -Compress files for the package named "package". -.TP -.B \-Ptmpdir -Use "tmpdir" for package build directory. +.B file ... +Add these files to the list of files to compress. .SH NOTES -The -.B \-a -.B \-i -and -.B \-p -arguments are cumulative. If none are specified, then all packages listed in -the control file will have their files compressed. -.P The debian/compress file applies to the first binary package listed in your control file. For the other packages, you can make files named debian/package.compress, where "package" is the name of the package they apply to. (This works for the first binary package too.) .SH ENVIRONMENT -.TP -.I DH_VERBOSE -Enables verbose mode +See +.BR debhelper (1) +for a list of environment variables that affect all debhelper commands. .SH "SEE ALSO" -.BR /usr/doc/debhelper/README +.BR debhelper (1) .SH BUGS Filenames with spaces in them may not properly be compressed. .SH "CONFORMS TO"