]> git.proxmox.com Git - pve-guest-common.git/blobdiff - Makefile
AbstractMigrate: remove unused obsolete variables
[pve-guest-common.git] / Makefile
index bfb072d160c3b497f52c99919f6018fd8f2407bd..83aaf4154d0746a1dc517921de29e44871594d79 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=libpve-guest-common-perl
-PKGVER=1.0
-PKGREL=1
+PKGVER=2.0
+PKGREL=11
 
 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
 
@@ -12,7 +12,8 @@ DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE}
 all:
 
 .PHONY: deb
-deb ${DEB}:
+deb: ${DEB}
+${DEB}:
        rm -rf build
        rsync -a * build
        cd build; dpkg-buildpackage -b -us -uc
@@ -20,17 +21,23 @@ deb ${DEB}:
 
 install: PVE
        install -d ${PERL5DIR}/PVE
+       install -m 0644 PVE/GuestHelpers.pm ${PERL5DIR}/PVE/
        install -m 0644 PVE/AbstractConfig.pm ${PERL5DIR}/PVE/
        install -m 0644 PVE/AbstractMigrate.pm ${PERL5DIR}/PVE/
+       install -m 0644 PVE/ReplicationConfig.pm ${PERL5DIR}/PVE/
+       install -m 0644 PVE/ReplicationState.pm ${PERL5DIR}/PVE/
+       install -m 0644 PVE/Replication.pm ${PERL5DIR}/PVE/
+       install -d ${PERL5DIR}/PVE/VZDump
+       install -m 0644 PVE/VZDump/Plugin.pm ${PERL5DIR}/PVE/VZDump/
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch
 
 distclean: clean
 
 clean:
-       rm -rf ./build *.deb *.changes
+       rm -rf ./build *.deb *.changes *.buildinfo
 
 .PHONY: dinstall
 dinstall: ${DEB}