diff options
Diffstat (limited to 'base/pam/pam-policy/Makefile')
-rw-r--r-- | base/pam/pam-policy/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/base/pam/pam-policy/Makefile b/base/pam/pam-policy/Makefile new file mode 100644 index 0000000..860ae17 --- /dev/null +++ b/base/pam/pam-policy/Makefile @@ -0,0 +1,18 @@ +PAMCFG=other system-auth system-local-login system-login system-remote-login system-services +LIMITSCFG=90-nproc.conf + +INSTALL=/usr/bin/install +INSTALLDIR=$(INSTALL) -m 0755 -d +INSTALLCFG=$(INSTALL) -m 0644 + +SYSCONFDIR=/etc +ETCPAMDDIR=$(SYSCONFDIR)/pam.d +LIMITSDDIR=$(SYSCONFDIR)/security/limits.d + +install: + $(INSTALLDIR) $(DESTDIR)$(ETCPAMDDIR) + $(INSTALLCFG) $(PAMCFG) $(DESTDIR)$(ETCPAMDDIR) + $(INSTALLDIR) $(DESTDIR)$(LIMITSDDIR) + $(INSTALLCFG) $(LIMITSCFG) $(DESTDIR)$(LIMITSDDIR) + +.PHONY: install |