pve-manager/services/Makefile
Thomas Lamprecht 81c713fcfd cleanup: rename bin/init.d to services
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00

39 lines
1.2 KiB
Makefile

include ../defines.mk
all:
SERVICES= \
pvebanner.service \
pvenetcommit.service \
pvestatd.service \
pve-guests.service \
pvedaemon.service \
pveproxy.service \
spiceproxy.service \
pve-storage.target \
pve-daily-update.service\
pve-daily-update.timer \
pvesr.service \
pvesr.timer
.PHONY: install
install: ${SERVICES}
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 *~