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.
21 If a file named debian/package.pam exists, then it is installed into
22 etc/pam.d/package in the package build directory.
28 =item B<--name=>I<name>
30 Look for files named debian/package.name.pam and install them as
31 etc/pam.d/name, instead of using the usual files and installing them as
40 foreach my $package (@{$dh{DOPACKAGES}}) {
41 my $tmp=tmpdir($package);
42 my $pam=pkgfile($package,"pam");
45 if (! -d "$tmp/etc/pam.d") {
46 doit("install","-d","$tmp/etc/pam.d");
48 doit("install","-p","-m644",$pam,"$tmp/etc/pam.d/".pkgfilename($package));
56 This program is a part of debhelper.
60 Joey Hess <joeyh@debian.org>