X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_install;h=875f80bfe45d3be04e07525799ec98b45105d0f8;hb=ce069424bc9a14aaefc06871d0ea530c0e26bbb7;hp=eb4850257404c24dac90c8688d08bf53d02164ab;hpb=86b14713761d1794c6fe6d90558db65dfba654ce;p=debhelper.git diff --git a/dh_install b/dh_install index eb48502..875f80b 100755 --- a/dh_install +++ b/dh_install @@ -24,15 +24,6 @@ those particular tasks. dh_install, then, is useful for installing everything else, for which no particular intelligence is needed. It is a replacement for the old dh_movefiles command. -Files named debian/package.install list the files to install into each -package and the directory they should be installed to. The format is a set -of lines, where each line lists a file or files to install, and at the end -of the line tells the directory it should be installed in. The name of the -files (or directories) to install should be given relative to the current -directory, while the installation directory is given relative to the -package build directory. You may use wildcards in the names of the files to -install (in v3 mode and above). - This program may be used in one of two ways. If you just have a file or two that the upstream Makefile does not install for you, you can run dh_install on them to move them into place. On the other hand, maybe you have a large @@ -44,6 +35,22 @@ From debhelper compatibility level 7 on, dh_install will fall back to looking in debian/tmp for files, if it doesn't find them in the current directory (or whereever you've told it to look using --sourcedir). +=head1 FILES + +=over 4 + +=item debian/I.install + +List the files to install into each package and the directory they should be +installed to. The format is a set of lines, where each line lists a file or +files to install, and at the end of the line tells the directory it should be +installed in. The name of the files (or directories) to install should be given +relative to the current directory, while the installation directory is given +relative to the package build directory. You may use wildcards in the names of +the files to install (in v3 mode and above). + +=back + =head1 OPTIONS =over 4 @@ -159,7 +166,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } if (! compat(4)) { # check added in v5 - # glob now, relative to srcdir if (! @filelist) { error("$package missing files (@$set), aborting"); }