aboutsummaryrefslogtreecommitdiff
path: root/base/bin/config/pam.d/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/bin/config/pam.d/Makefile
Initial commit.
Diffstat (limited to 'base/bin/config/pam.d/Makefile')
-rw-r--r--base/bin/config/pam.d/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/base/bin/config/pam.d/Makefile b/base/bin/config/pam.d/Makefile
new file mode 100644
index 0000000..74076ab
--- /dev/null
+++ b/base/bin/config/pam.d/Makefile
@@ -0,0 +1,17 @@
+include ../common.mk
+
+FILES_BASE = other system-auth system-local-login system-login system-remote-login system-services
+FILES_UTIL = chage chfn chgpasswd chpasswd chsh groupadd groupdel groupmems groupmod login newusers passwd shadow su su-l useradd userdel usermod
+
+# $(INSTALLDAT) $(FILES_BASE) $(DESTDIR)$(PAMPOLICYDIR)
+
+install-pam-policy-dir:
+ $(INSTALLDIR) $(DESTDIR)$(PAMPOLICYDIR)
+
+install-pam-policy-base: install-pam-policy-dir
+ for file in $(FILES_BASE); do $(INSTALLDAT) $$file $(DESTDIR)$(PAMPOLICYDIR)/$$file$(EXT); done
+
+install-pam-policy-util: install-pam-policy-dir
+ for file in $(FILES_UTIL); do $(INSTALLDAT) $$file $(DESTDIR)$(PAMPOLICYDIR)/$$file$(EXT); done
+
+.PHONY: install-pam-policy-dir install-pam-policy-base install-pam-policy-util