1DH_AUTO_CLEAN(1) Debhelper DH_AUTO_CLEAN(1)
2
3
4
6 dh_auto_clean - automatically cleans up after a build
7
9 dh_auto_clean [build system options] [debhelper options] [-- params]
10
12 dh_auto_clean is a debhelper program that tries to automatically clean
13 up after a package build. It does so by running the appropriate command
14 for the build system it detects the package uses. For example, if
15 there's a Makefile and it contains a distclean, realclean, or clean
16 target, then this is done by running make (or MAKE, if the environment
17 variable is set). If there is a setup.py or Build.PL, it is run to
18 clean the package.
19
20 This is intended to work for about 90% of packages. If it doesn't work,
21 or tries to use the wrong clean target, you're encouraged to skip using
22 dh_auto_clean at all, and just run make clean manually.
23
25 See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build
26 system selection and control options.
27
28 -- params
29 Pass params to the program that is run, after the parameters that
30 dh_auto_clean usually passes.
31
33 debhelper(7)
34
35 This program is a part of debhelper.
36
38 Joey Hess <joeyh@debian.org>
39
40
41
4213.7.1 2022-04-22 DH_AUTO_CLEAN(1)