2011-08-23 18:11:04 +04:00
i n c l u d e . . / . . / d e f i n e s . m k
all :
SCRIPTS = \
2012-04-20 10:21:37 +04:00
pve-manager \
2011-08-23 18:11:04 +04:00
pvedaemon \
2013-04-09 13:59:49 +04:00
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-manager.service \
pvedaemon.service \
pveproxy.service \
2016-12-21 17:56:12 +03:00
spiceproxy.service
2011-08-23 18:11:04 +04:00
.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 }
2016-12-21 17:56:12 +03:00
install -d ${ SERVICEDIR } /ceph-mon@.service.d
2016-12-22 13:47:13 +03:00
install -m 0644 ceph-after-pve-cluster.conf ${ SERVICEDIR } /ceph-mon@.service.d
2016-12-21 17:56:12 +03:00
install -d ${ SERVICEDIR } /ceph-osd@.service.d
2016-12-22 13:47:13 +03:00
install -m 0644 ceph-after-pve-cluster.conf ${ SERVICEDIR } /ceph-osd@.service.d
2016-12-21 17:56:12 +03:00
install -d ${ SERVICEDIR } /ceph-disk@.service.d
2016-12-22 13:47:13 +03:00
install -m 0644 ceph-after-pve-cluster.conf ${ SERVICEDIR } /ceph-disk@.service.d
2016-12-21 17:56:12 +03:00
install -d ${ SERVICEDIR } /ceph-mds@.service.d
2016-12-22 13:47:13 +03:00
install -m 0644 ceph-after-pve-cluster.conf ${ SERVICEDIR } /ceph-mds@.service.d
2016-12-21 17:56:12 +03:00
install -d ${ DESTDIR } /usr/share/doc/{ $PACKAGE } /examples/
install -m 0644 ceph.service ${ DESTDIR } /usr/share/doc/${ PACKAGE } /examples/ceph.service
2011-08-23 18:11:04 +04:00
.PHONY : clean
clean :
rm -rf *~