1DH_COMPRESS(1)                     Debhelper                    DH_COMPRESS(1)
2
3
4

NAME

6       dh_compress - compress files and fix symlinks in package build
7       directories
8

SYNOPSIS

10       dh_compress [debhelper options] [-Xitem] [-A] [file ...]
11

DESCRIPTION

13       dh_compress is a debhelper program that is responsible for compressing
14       the files in package build directories, and makes sure that any
15       symlinks that pointed to the files before they were compressed are
16       updated to point to the new files.
17
18       By default, dh_compress compresses files that Debian policy mandates
19       should be compressed, namely all files in usr/share/info,
20       usr/share/man, files in usr/share/doc that are larger than 4k in size,
21       (except the copyright file, .html and other web files, image files, and
22       files that appear to be already compressed based on their extensions),
23       and all changelog files. Plus PCF fonts underneath usr/share/fonts/X11/
24

FILES

26       debian/package.compress
27           These files are deprecated.
28
29           If this file exists, the default files are not compressed. Instead,
30           the file is ran as a shell script, and all filenames that the shell
31           script outputs will be compressed. The shell script will be run
32           from inside the package build directory. Note though that using -X
33           is a much better idea in general; you should only use a
34           debian/package.compress file if you really need to.
35

OPTIONS

37       -Xitem, --exclude=item
38           Exclude files that contain item anywhere in their filename from
39           being compressed. For example, -X.tiff will exclude TIFF files from
40           compression.  You may use this option multiple times to build up a
41           list of things to exclude.
42
43       -A, --all
44           Compress all files specified by command line parameters in ALL
45           packages acted on.
46
47       file ...
48           Add these files to the list of files to compress.
49

CONFORMS TO

51       Debian policy, version 3.0
52

SEE ALSO

54       debhelper(7)
55
56       This program is a part of debhelper.
57

AUTHOR

59       Joey Hess <joeyh@debian.org>
60
61
62
6312.7.3                            2020-01-28                    DH_COMPRESS(1)
Impressum