1DH_AUTO_INSTALL(1) Debhelper DH_AUTO_INSTALL(1)
2
3
4
6 dh_auto_install - automatically runs make install or similar
7
9 dh_auto_install [build system options] [debhelper options] [-- params]
10
12 dh_auto_install is a debhelper program that tries to automatically
13 install built files. It does so by running the appropriate command for
14 the build system it detects the package uses. For example, if there's a
15 Makefile and it contains a install target, then this is done by running
16 make (or MAKE, if the environment variable is set). If there is a
17 setup.py or Build.PL, it is used. Note that the Ant build system does
18 not support installation, so dh_auto_install will not install files
19 built using Ant.
20
21 Unless --destdir option is specified, the files are installed into
22 debian/package/ if there is only one binary package. In the multiple
23 binary package case, the files are instead installed into debian/tmp/,
24 and should be moved from there to the appropriate package build
25 directory using dh_install(1).
26
27 DESTDIR is used to tell make where to install the files. If the
28 Makefile was generated by MakeMaker from a Makefile.PL, it will
29 automatically set PREFIX=/usr too, since such Makefiles need that.
30
31 This is intended to work for about 90% of packages. If it doesn't work,
32 or tries to use the wrong install target, you're encouraged to skip
33 using dh_auto_install at all, and just run make install manually.
34
36 See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build
37 system selection and control options.
38
39 --destdir=directory
40 Install files into the specified directory. If this option is not
41 specified, destination directory is determined automatically as
42 described in the "DESCRIPTION" section.
43
44 -- params
45 Pass params to the program that is run, after the parameters that
46 dh_auto_install usually passes.
47
49 debhelper(7)
50
51 This program is a part of debhelper.
52
54 Joey Hess <joeyh@debian.org>
55
56
57
5811.4 2018-09-14 DH_AUTO_INSTALL(1)