do not install replication code

The code introduces a cyclic package dependency, so we need to
move it to pve-manager package.
This commit is contained in:
Dietmar Maurer
2017-05-10 07:06:35 +02:00
parent 17be2e9a0c
commit f88846ea3b
4 changed files with 4 additions and 13 deletions

View File

@ -33,23 +33,15 @@ pvesm.bash-completion:
perl -I. -T -e "use PVE::CLI::pvesm; PVE::CLI::pvesm->generate_bash_completions();" >$@.tmp
mv $@.tmp $@
pvesr.bash-completion:
perl -I. -T -e "use PVE::CLI::pvesr; PVE::CLI::pvesr->generate_bash_completions();" >$@.tmp
mv $@.tmp $@
.PHONY: install
install: pvesm.1 pvesm.bash-completion pvesr.bash-completion
install: pvesm.1 pvesm.bash-completion
install -d ${DESTDIR}${SBINDIR}
install -m 0755 pvesm ${DESTDIR}${SBINDIR}
install -m 0755 pvesr ${DESTDIR}${SBINDIR}
make -C PVE install
install -d ${DESTDIR}/var/lib/pve-replica
install -d ${DESTDIR}/usr/share/man/man1
install -m 0644 pvesm.1 ${DESTDIR}/usr/share/man/man1/
gzip -9 -n ${DESTDIR}/usr/share/man/man1/pvesm.1
install -m 0644 -D pvesm.bash-completion ${DESTDIR}${BASHCOMPLDIR}/pvesm
install -m 0644 -D pvesr.bash-completion ${DESTDIR}${BASHCOMPLDIR}/pverepm
.PHONY: deb
deb: ${DEB}
@ -73,7 +65,7 @@ ${DEB}:
.PHONY: clean
clean:
make cleanup-docgen
rm -rf debian *.deb ${PACKAGE}-*.tar.gz dist *.1 *.tmp pvesm.bash-completion pvesr.bash-completion
rm -rf debian *.deb ${PACKAGE}-*.tar.gz dist *.1 *.tmp pvesm.bash-completion
find . -name '*~' -exec rm {} ';'
.PHONY: distclean