dh_prep(1)

dh_prep1

Perform cleanups in preparation for building a binary package

Usage

dh_prep [debhelper options] [-Xitem]

Overview

dh_prep is a debhelper program that performs some file cleanups in preparation for building a binary 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 when building a binary package.

It is typically run at the top of the binary-arch and binary-indep targets, or at the top of a target such as install that they depend on.

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

Author

Joey Hess <[email protected]>

From debhelper 13.24.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.