Reference

dh_md5sums(1)

generate DEBIAN/md5sums file

NAME

dh_md5sums - generate DEBIAN/md5sums file

SYNOPSIS

dh_md5sums [debhelper options] [-x] [-Xitem] [--include-conffiles]

DESCRIPTION

dh_md5sums is a debhelper program that is responsible for generating a DEBIAN/md5sums file, which lists the md5sums of each file in the package. These files are used by dpkg --verify or the debsums(1) program.

All files in DEBIAN/ are omitted from the md5sums file, as are all conffiles (unless you use the --include-conffiles switch).

The md5sums file is installed with proper permissions and ownerships.

OPTIONS

-x, --include-conffiles

Include conffiles in the md5sums list. Note that this information is redundant since it is included in /var/lib/dpkg/status in Debian packages.

-Xitem, --exclude=item

Exclude files that contain item anywhere in their filename from being listed in the md5sums file.

SEE ALSO

debhelper(7)

This program is a part of debhelper.

AUTHOR

Joey Hess <[email protected]>

History

--exclude since Debian 2.2 (Potato); -X since Debian 3.0 (Woody).

--arch until Debian 2.0 (Hamm); --indep until Debian 2.0 (Hamm); --no-act until Debian 2.0 (Hamm); --package until Debian 2.0 (Hamm); --tmpdir until Debian 2.0 (Hamm); --verbose until Debian 2.0 (Hamm); -Ptmpdir until Debian 2.0 (Hamm); -Xitem until Debian 2.2 (Potato); -a until Debian 2.0 (Hamm); -i until Debian 2.0 (Hamm); -ppackage until Debian 2.0 (Hamm); -v until Debian 2.0 (Hamm).