Note that this is not the same as the B<--sourcedirectory> option used
by the B<dh_auto_>I<*> commands. You rarely need to use this option, since
B<dh_install> automatically looks for files in F<debian/tmp> in debhelper
-
compatibility level 7 and above.
=item B<--autodest>
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) {
}
}
-=head1 EXAMPLE
-
-Suppose your package's upstream F<Makefile> installs a binary, a man page, and
-a library into appropriate subdirectories of F<debian/tmp>. You want to put
-the library into package libfoo, and the rest into package foo. Your rules
-file will run "B<dh_install --sourcedir=debian/tmp>". Make F<debian/foo.install>
-contain:
-
- usr/bin
- usr/share/man/man1
-
-While F<debian/libfoo.install> contains:
-
- usr/lib/libfoo*.so.*
-
-If you want a libfoo-dev package too, F<debian/libfoo-dev.install> might contain:
-
- usr/include
- usr/lib/libfoo*.so
- usr/share/man/man3
-
=head1 LIMITATIONS
B<dh_install> cannot rename files or directories, it can only install them