5 dh_installpam - install pam support files
10 use Debian::Debhelper::Dh_Lib;
14 B<dh_installpam> [S<I<debhelper options>>] [B<--name=>I<name>]
18 dh_installpam is a debhelper program that is responsible for installing
19 files used by PAM into package build directories.
25 =item debian/I<package>.pam
27 Installed into etc/pam.d/I<package> in the package build directory.
35 =item B<--name=>I<name>
37 Look for files named debian/I<package>.I<name>.pam and install them as
38 etc/pam.d/I<name>, instead of using the usual files and installing them
39 using the package name.
47 foreach my $package (@{$dh{DOPACKAGES}}) {
48 my $tmp=tmpdir($package);
49 my $pam=pkgfile($package,"pam");
52 if (! -d "$tmp/etc/pam.d") {
53 doit("install","-d","$tmp/etc/pam.d");
55 doit("install","-p","-m644",$pam,"$tmp/etc/pam.d/".pkgfilename($package));
63 This program is a part of debhelper.
67 Joey Hess <joeyh@debian.org>