aboutsummaryrefslogtreecommitdiff
path: root/base/pam/pam-policy/Makefile
blob: 860ae17b06aa68209010e2155b5bd87e8d628a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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