DH_PREP(1) Debhelper DH_PREP(1)
dh_prep - perform 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 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.
-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.
debhelper(7) This program is a part of debhelper.
Joey Hess <email@example.com>
This page is part of the debhelper (helper programs for debian/rules) project. Information about the project can be found at [unknown -- if you know, please contact man- firstname.lastname@example.org] If you have a bug report for this manual page, send it to email@example.com. This page was obtained from the project's upstream Git repository ⟨https://salsa.debian.org/debian/debhelper.git⟩ on 2021-08-27. (At that time, the date of the most recent commit that was found in the repository was 2021-08-24.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to firstname.lastname@example.org 13.0.1 2020-05-16 DH_PREP(1)
Pages that refer to this page: 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), debhelper(7)