1DH_AUTO_INSTALL(1)                 Debhelper                DH_AUTO_INSTALL(1)
2
3
4

NAME

6       dh_auto_install - automatically runs make install or similar
7

SYNOPSIS

9       dh_auto_install [build system options] [debhelper options] [-- params]
10

DESCRIPTION

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       In compat 15 or later, dh_auto_install will use debian/tmp as the
22       default --destdir and should be moved from there to the appropriate
23       package build directory using dh_install(1) or similar tools. Though if
24       the single-binary addon for dh(1) is activated, then it will pass an
25       explicit --destdir=debian/package/ to dh_auto_install.
26
27       For earlier compat levels then unless --destdir option is specified,
28       the files are installed into debian/package/ if there is only one
29       binary package. In the multiple binary package case, the files are
30       instead installed into debian/tmp/, and should be moved from there to
31       the appropriate package build directory using dh_install(1) or similar
32       tools.
33
34       DESTDIR is used to tell make where to install the files.  If the
35       Makefile was generated by MakeMaker from a Makefile.PL, it will
36       automatically set PREFIX=/usr too, since such Makefiles need that.
37
38       This is intended to work for about 90% of packages. If it doesn't work,
39       or tries to use the wrong install target, you're encouraged to skip
40       using dh_auto_install at all, and just run make install manually.
41

OPTIONS

43       See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build
44       system selection and control options.
45
46       --destdir=directory
47           Install files into the specified directory. If this option is not
48           specified, destination directory is determined automatically as
49           described in the "DESCRIPTION" section.
50
51       -- params
52           Pass params to the program that is run, after the parameters that
53           dh_auto_install usually passes.
54

SEE ALSO

56       debhelper(7)
57
58       This program is a part of debhelper.
59

AUTHOR

61       Joey Hess <joeyh@debian.org>
62
63
64
6513.11.4                           2023-01-22                DH_AUTO_INSTALL(1)
Impressum