aboutsummaryrefslogtreecommitdiff
path: root/base/bin/config/pam.d/Makefile
blob: 74076abec6ab35aed54b80759f916b54cbc95fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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