3 |
sysconfdir = /etc |
sysconfdir = /etc |
4 |
securitydir = $(sysconfdir)/security |
securitydir = $(sysconfdir)/security |
5 |
pamdir = $(sysconfdir)/pam.d |
pamdir = $(sysconfdir)/pam.d |
6 |
|
tmpfilesdir = $(sysconfdir)/tmpfiles.d |
7 |
|
|
8 |
PAM_FILES = system-auth system-login system-local-login system-remote-login \ |
PAM_FILES = system-auth system-login system-local-login system-remote-login \ |
9 |
system-services other halt reboot poweroff |
system-services other halt reboot poweroff |
10 |
|
all: |
11 |
|
test: |
12 |
|
clean: |
13 |
|
|
14 |
install: |
install: |
15 |
install -d $(DESTDIR)/%{sysconfdir} |
install -d $(DESTDIR)/${sysconfdir} |
16 |
install -d $(DESTDIR)/%{securitydir} |
install -d $(DESTDIR)/${securitydir} |
17 |
install -d $(DESTDIR)/%{pamdir} |
install -d $(DESTDIR)/${pamdir} |
18 |
install -m 0644 environment $(DESTDIR)/%{sysconfdir}/ |
install -d $(DESTDIR)/${tmpfilesdir} |
19 |
install -m 0644 securetty $(DESTDIR)/%{sysconfdir}/ |
install -m 0644 environment $(DESTDIR)/${sysconfdir}/ |
20 |
install -m 0644 console.handlers $(DESTDIR)/%{securitydir}/ |
install -m 0644 securetty $(DESTDIR)/${sysconfdir}/ |
21 |
install -m 0644 %{PAM_FILES} $(DESTDIR)/%{pamdir} |
install -m 0644 console.handlers $(DESTDIR)/${securitydir}/ |
22 |
|
install -m 0644 pam.tmpfiles.d $(DESTDIR)/${tmpfilesdir}/pam.conf |
23 |
.phone all install |
install -m 0644 ${PAM_FILES} $(DESTDIR)/${pamdir} |