pve-manager/bin/init.d/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

include ../../defines.mk
all:
SCRIPTS = \
pvedaemon \
pveproxy \
2013-06-26 15:21:14 +04:00
spiceproxy \
2015-02-28 14:42:20 +03:00
pvestatd
SERVICES= \
pvebanner.service \
pvenetcommit.service \
pvestatd.service \
pve-guests.service \
2015-02-28 14:42:20 +03:00
pvedaemon.service \
pveproxy.service \
spiceproxy.service \
pve-storage.target \
pvesr.service \
pvesr.timer
.PHONY: install
install: ${SCRIPTS}
install -d ${INITDBINDIR}
install -m 0755 ${SCRIPTS} ${INITDBINDIR}
2015-02-28 14:42:20 +03:00
install -d ${SERVICEDIR}
install -m 0644 ${SERVICES} ${SERVICEDIR}
install -d ${SERVICEDIR}/ceph-mon@.service.d
install -m 0644 ceph-after-pve-cluster.conf ${SERVICEDIR}/ceph-mon@.service.d
install -d ${SERVICEDIR}/ceph-mgr@.service.d
install -m 0644 ceph-after-pve-cluster.conf ${SERVICEDIR}/ceph-mgr@.service.d
install -d ${SERVICEDIR}/ceph-osd@.service.d
install -m 0644 ceph-after-pve-cluster.conf ${SERVICEDIR}/ceph-osd@.service.d
install -d ${SERVICEDIR}/ceph-disk@.service.d
install -m 0644 ceph-after-pve-cluster.conf ${SERVICEDIR}/ceph-disk@.service.d
install -d ${SERVICEDIR}/ceph-mds@.service.d
install -m 0644 ceph-after-pve-cluster.conf ${SERVICEDIR}/ceph-mds@.service.d
install -d ${DESTDIR}/usr/share/doc/${PACKAGE}/examples/
install -m 0644 ceph.service ${DESTDIR}/usr/share/doc/${PACKAGE}/examples/ceph.service
.PHONY: clean
clean:
rm -rf *~