]> git.proxmox.com Git - pve-ha-manager.git/blobdiff - Makefile
bump version to 2.0-1
[pve-ha-manager.git] / Makefile
index 98f644fdd1137e756a1cea5a10e86988ece57049..166aceec3dd94b9c426081aa7d63e04b106c9c01 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-VERSION=1.0
+VERSION=2.0
 PACKAGE=pve-ha-manager
 SIMPACKAGE=pve-ha-simulator
-PKGREL=40
+PKGREL=1
 
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
@@ -14,12 +14,13 @@ SIMDEB=${SIMPACKAGE}_${VERSION}-${PKGREL}_all.deb
 all: ${DEB} ${SIMDEB}
 
 .PHONY: dinstall simdeb
-dinstall: deb simdeb
+dinstall: $(DEB) $(SIMDEB)
        dpkg -i ${DEB} ${SIMDEB}
 
 
-.PHONY: simdeb ${SIMDEB}
-simdeb ${SIMDEB}:
+.PHONY: simdeb
+simdeb: ${SIMDEB}
+${SIMDEB}:
        rm -rf build
        mkdir build
        rsync -a src/ build
@@ -29,8 +30,9 @@ simdeb ${SIMDEB}:
        cd build; dpkg-buildpackage -rfakeroot -b -us -uc
        lintian ${SIMDEB}
 
-.PHONY: deb ${DEB}
-deb ${DEB}:
+.PHONY: deb
+deb: ${DEB}
+${DEB}:
        rm -rf build
        mkdir build
        rsync -a src/ build
@@ -51,5 +53,5 @@ distclean: clean
 
 .PHONY: upload
 upload: ${DEB} ${SIMDEB}
-       tar cf - ${DEB} ${SIMDEB}|ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEB} ${SIMDEB}|ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}