-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)
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
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
.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}