parent
a7ceb85300
commit
76fa47f5d0
2
Makefile
2
Makefile
@ -34,12 +34,14 @@ install_cs:
|
|||||||
install -vm644 CS.txt $(DESTDIR)$(ETCDIR)
|
install -vm644 CS.txt $(DESTDIR)$(ETCDIR)
|
||||||
|
|
||||||
install_systemd:
|
install_systemd:
|
||||||
|
if test -x /usr/sbin/systemctl -o -x /usr/bin/systemctl; then \
|
||||||
if test -d /usr/lib/systemd/system; then \
|
if test -d /usr/lib/systemd/system; then \
|
||||||
install -vdm755 ${DESTDIR}/usr/lib/systemd/system; \
|
install -vdm755 ${DESTDIR}/usr/lib/systemd/system; \
|
||||||
install -vm644 systemd/* $(DESTDIR)/usr/lib/systemd/system; \
|
install -vm644 systemd/* $(DESTDIR)/usr/lib/systemd/system; \
|
||||||
elif test -d /lib/systemd/system; then \
|
elif test -d /lib/systemd/system; then \
|
||||||
install -vdm755 ${DESTDIR}/lib/systemd/system; \
|
install -vdm755 ${DESTDIR}/lib/systemd/system; \
|
||||||
install -vm644 systemd/* ${DESTDIR}/lib/systemd/system; \
|
install -vm644 systemd/* ${DESTDIR}/lib/systemd/system; \
|
||||||
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_man: man
|
install_man: man
|
||||||
|
Loading…
Reference in New Issue
Block a user