Manpages DH_COMPRESSSection: Debhelper (1)Updated: 2001-11-17 Index Return to Main Contents NAMEdh_compress - compress files and fix symlinks in package build directoriesSYNOPSISdh_compress [debhelper options] [-Xitem] [-A] [file ...]DESCRIPTIONdh_compress is a debhelper program that is responsible for compressing the files in package build directories, and makes sure that any symlinks that pointed to the files before they were compressed are updated to point to the new files.By default, dh_compress compresses files that debian policy mandates should be compressed, namely all files in usr/share/info, usr/share/man, usr/X11R6/man, files in usr/share/doc that are larger than 4k in size, (except the copyright file, .html files, and files that appear to be already compressed based on their extensions), and all changelog files. If a debian/package.compress file exists, however, it will be ran as a shell script, and all filenames that the shell script outputs will be compressed instead of the default files. The shell script will be run from inside the package build directory. Note though that using -X is a much better idea in general; you should only use a debian/package.compress file if you really have to. OPTIONS
CONFORMS TODebian policy, version 3.0SEE ALSOdebhelper(1)This program is a part of debhelper. AUTHORJoey Hess <joeyh@debian.org>
IndexThis document was created by man2html, using the manual pages. Time: 16:17:23 GMT, May 08, 2025 |