core/initscripts-systemd/Makefile

14 lines
485 B
Makefile

SERVICES = ${wildcard *.service}
TARGETS = ${wildcard *.target}
SCRIPTS = chakra-modules-load
GENERATORS = chakra-daemons
makedirs:
@install -vd ${DESTDIR}/usr/lib/systemd/system-generators \
${DESTDIR}/usr/lib/systemd/system
install: makedirs
@install -vm755 -t ${DESTDIR}/usr/lib/systemd/ ${SCRIPTS}
@install -vm755 -t ${DESTDIR}/usr/lib/systemd/system-generators/ ${GENERATORS}
@install -vm644 -t ${DESTDIR}/usr/lib/systemd/system ${SERVICES} ${TARGETS}