dh_prep - Man Page

perform 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 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.

See Also

debhelper(7)

This program is a part of debhelper.

Author

Joey Hess <joeyh@debian.org>

Referenced By

debhelper(7), dh_clean(1), dh_installcatalogs(1), dh_installemacsen(1), dh_installinit(1), dh_installinitramfs(1), dh_installmodules(1), dh_installsystemd(1), dh_installsystemduser(1), dh_installsysusers(1), dh_installtmpfiles(1), dh_installudev(1), dh_installwm(1), dh_systemd_enable(1), dh_systemd_start(1), dh_ucf(1), dh_usrlocal(1).

2024-07-17 13.11.6 Debhelper