X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_install;h=c9b47bd638e481dc4c6b2c1923b8cd2483e5f14e;hb=b97d540fe70d58f416449e4ac85885ae3e2cc698;hp=c958931ab809959d8609d72c0edcc5f8fbdfb29d;hpb=a80014a1f20fa6f9d1e6b03cc37fd32dd8c7fc8b;p=debhelper.git diff --git a/dh_install b/dh_install index c958931..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 @@ -105,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. @@ -137,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) { @@ -249,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