mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
14 lines
485 B
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}
|