5 dh_auto_install - install built files into the temporary directory under debian/
10 use Debian::Debhelper::Dh_Lib;
11 use Debian::Debhelper::Dh_Buildsystems;
16 B<dh_auto_install> [S<I<debhelper options>>] [S<I<dh_auto options>>] [S<B<--> I<params>>]
20 dh_auto_install is a debhelper program that is responsible for the I<install>
21 step of the L<dh_auto(7)> building process. dh_auto_install tries to run
22 original package installation routine to install built files into the proper
23 places of the file system hierarchy recreated under the (temporary) directory
26 The files are installed into debian/<package>/ if there is only one binary
27 package. In the multiple binary package case, the files are instead
28 installed into debian/tmp/, and should be moved from there to the
29 appropriate package build directory using L<dh_install(1)> or
32 If dh_auto_install does not meet your needs or does not work, it is safe to
33 skip/override it entirely and just run C<make install> or the like manually.
35 #DH_AUTO SHARED OPTIONS#
43 Pass "params" to the program that is run. These can be used to supplement
44 or override the any standard parameters that dh_auto_install passes.
48 =head1 SUPPORTED BUILD SYSTEMS
50 #SUPPORTED BUILD SYSTEMS INTRO#
51 #SUPPORTED BUILD SYSTEMS LIST#
58 my @allpackages=getpackages();
59 if (@allpackages > 1) {
60 $destdir="debian/tmp";
63 $destdir=tmpdir($dh{MAINPACKAGE});
65 $destdir=cwd()."/".$destdir;
67 buildsystems_do("install", $destdir);
75 This program is a part of debhelper and its dh_auto package source building
80 Joey Hess <joeyh@debian.org>
81 Modestas Vainius <modestas@vainius.eu>