X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_install;h=c9b47bd638e481dc4c6b2c1923b8cd2483e5f14e;hb=a79fd40fb336cedd257bbef1c6b012b108cfc70c;hp=1748fc23fbeeec6a630ea1b7a07d90b18cfaf9f2;hpb=0952ac2e9995da8abe149f3e42b3b8d9d2797112;p=debhelper.git diff --git a/dh_install b/dh_install index 1748fc2..c9b47bd 100755 --- a/dh_install +++ b/dh_install @@ -12,7 +12,7 @@ use Debian::Debhelper::Dh_Lib; =head1 SYNOPSIS -B [B<-X>I] [B<--autodest>] [B<--sourcedir=>I] [S>] [S ... I>] +B [B<-X>I] [B<--autodest>] [B<--sourcedir=>I] [S>] [S ... I>] =head1 DESCRIPTION @@ -85,7 +85,6 @@ Look in the specified directory for files to be installed. Note that this is not the same as the B<--sourcedirectory> option used by the BI<*> commands. You rarely need to use this option, since B automatically looks for files in F in debhelper - compatibility level 7 and above. =item B<--autodest> @@ -106,7 +105,7 @@ itself in a F file, with no explicit destination, then B will automatically guess the destination even if this flag is not set. -=item I ... I +=item I ... I Lists files (or directories) to install and where to install them to. The files will be installed into the first package F acts on. @@ -138,7 +137,7 @@ foreach my $package (getpackages()) { my @install; if ($file) { - @install=filedoublearray($file); # no globbing yet + @install=filedoublearray($file); # no globbing here; done below } if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) { @@ -250,27 +249,6 @@ if ($dh{LIST_MISSING} || $dh{FAIL_MISSING}) { } } -=head1 EXAMPLE - -Suppose your package's upstream F installs a binary, a man page, and -a library into appropriate subdirectories of F. You want to put -the library into package libfoo, and the rest into package foo. Your rules -file will run "B". Make F -contain: - - usr/bin - usr/share/man/man1 - -While F contains: - - usr/lib/libfoo*.so.* - -If you want a libfoo-dev package too, F might contain: - - usr/include - usr/lib/libfoo*.so - usr/share/man/man3 - =head1 LIMITATIONS B cannot rename files or directories, it can only install them