5 dh_installdirs - create subdirectories in package build directories
10 use Debian::Debhelper::Dh_Lib;
14 B<dh_installdirs> [S<I<debhelper options>>] [B<-A>] [S<I<dir> ...>]
18 B<dh_installdirs> is a debhelper program that is responsible for creating
19 subdirectories in package build directories.
25 =item debian/I<package>.dirs
27 Lists directories to be created in I<package>.
37 Create any directories specified by command line parameters in ALL packages
38 acted on, not just the first.
42 Create these directories in the package build directory of the first
43 package acted on. (Or in all packages if B<-A> is specified.)
51 foreach my $package (@{$dh{DOPACKAGES}}) {
52 my $tmp=tmpdir($package);
53 my $file=pkgfile($package,"dirs");
56 doit("install","-d",$tmp);
62 @dirs=filearray($file)
65 if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) {
70 # Stick the $tmp onto the front of all the dirs.
71 # This is necessary, for 2 reasons, one to make them
72 # be in the right directory, but more importantly, it
73 # protects against the danger of absolute dirs being
77 tr:/:/:s; # just beautification.
82 doit("install","-d",@dirs);
90 This program is a part of debhelper.
94 Joey Hess <joeyh@debian.org>