summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cebda3e..74808e5 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,10 @@ DIRS := \
/etc/logrotate.d \
/etc/profile.d \
/usr/lib/tmpfiles.d \
+ /usr/lib/systemd/system-generators \
+ /usr/lib/systemd/system/multi-user.target.wants \
+ /usr/lib/systemd/system/shutdown.target.wants \
+ /usr/lib/systemd/system/sysinit.target.wants \
/usr/sbin \
/usr/share/bash-completion/completions \
/usr/share/zsh/site-functions \
@@ -29,9 +33,15 @@ install: installdirs doc
install -m644 -t $(DESTDIR)/usr/share/man/man5 rc.conf.5
install -m644 -t $(DESTDIR)/usr/share/man/man7 archlinux.7
install -m644 -t $(DESTDIR)/usr/share/man/man8 rc.d.8
+ install -m755 -t $(DESTDIR)/usr/lib/systemd/system-generators arch-daemons
+ install -m755 -t $(DESTDIR)/usr/lib/systemd arch-modules-load
+ install -m644 -t $(DESTDIR)/usr/lib/systemd/system arch-modules-load.service rc-local.service rc-local-shutdown.service
install -m644 tmpfiles.conf $(DESTDIR)/usr/lib/tmpfiles.d/initscripts.conf
install -m644 -T bash-completion $(DESTDIR)/usr/share/bash-completion/completions/rc.d
install -m644 -T zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_rc.d
+ ln -s ../rc-local.service ${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants/
+ ln -s ../rc-local-shutdown.service ${DESTDIR}/usr/lib/systemd/system/shutdown.target.wants/
+ ln -s ../arch-modules-load.service ${DESTDIR}/usr/lib/systemd/system/sysinit.target.wants/
%.5: %.5.txt
a2x -d manpage -f manpage $<