dh_prep - preform cleanups in preparation for building a binary package
dh_prep [debhelper options] [-Xitem]
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.
This program is a part of debhelper.
Joey Hess <firstname.lastname@example.org>