aboutsummaryrefslogtreecommitdiff
path: root/base/pam/pam-policy/Makefile
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 18:47:05 +0200
committerDeposite Pirate2018-09-16 18:47:05 +0200
commitf29d3519ce073ec30f99754d93304324f7f26d65 (patch)
tree24082fb10d4979792f67961c24a812644210db34 /base/pam/pam-policy/Makefile
Initial commit.
Diffstat (limited to 'base/pam/pam-policy/Makefile')
-rw-r--r--base/pam/pam-policy/Makefile18
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