NAME

dh_prep - preform cleanups in preparation for building a binary package

SYNOPSIS

dh_prep [debhelper options] [-Xitem]

DESCRIPTION

dh_prep is a debhelper program that performs some file cleanups in preparation for building a package. (This is what dh_clean -k used to do.) It removes the package build directories, debian/tmp, and some temp files that are generated during the build. Putting this at the start of the build process makes the build process idempotent.

OPTIONS

-Xitem --exclude=item
Exclude files that contain "item" anywhere in their filename from being deleted, even if they would normally be deleted. You may use this option multiple times to build up a list of things to exclude.

SEE ALSO

debhelper(7)

This program is a part of debhelper.

AUTHOR

Joey Hess <joeyh@debian.org>