]> git.proxmox.com Git - pve-cluster.git/blobdiff - Makefile
bump version to 7.1-3
[pve-cluster.git] / Makefile
index 527edb5c38db201d9b1db86da5ffd5a4344b98de..ccf2057e8fff8a86bf4269b77eecaf6519f7c171 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,11 @@ PACKAGE=pve-cluster
 GITVERSION:=$(shell git rev-parse HEAD)
 
 DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
-LIBDEB  = libpve-cluster-perl_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
-LIBDEB += libpve-cluster-api-perl_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
-DBGDEB=${PACKAGE}-dbgsym_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
+LIB_DEB  = libpve-cluster-perl_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+LIB_DEB += libpve-cluster-api-perl_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+DBG_DEB=${PACKAGE}-dbgsym_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
+
+DEBS = ${DEB} ${DBG_DEB} ${LIB_DEB}
 
 PERL_APIVER := `perl -MConfig -e 'print $$Config{debian_abi}//$$Config{version};'`
 
@@ -18,11 +20,11 @@ cpgtest: cpgtest.c
        gcc -Wall cpgtest.c $(shell pkg-config --cflags --libs libcpg libqb) -o cpgtest
 
 .PHONY: dinstall
-dinstall: ${DEB} ${LIBDEB}
+dinstall: ${DEB} ${LIB_DEB}
        dpkg -i $^
 
 .PHONY: deb
-deb ${DBG_DEB} ${LIBDEB}: ${DEB}
+deb ${DBG_DEB} ${LIB_DEB}: ${DEB}
 ${DEB}:
        rm -f *.deb
        rm -rf build
@@ -34,9 +36,9 @@ ${DEB}:
 
 
 .PHONY: upload
-upload: ${DEB} ${DBG_DEB} ${LIBDEB}
-       tar cf - ${DEB} ${DBGDEB} ${LIBDEB}| ssh -X repoman@repo.proxmox.com -- upload --product pve --dist buster --arch ${DEB_BUILD_ARCH}
+upload: ${DEBS}
+       tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch ${DEB_BUILD_ARCH}
 
 .PHONY: clean
 clean:
-       rm -rf *~ build *.deb *.changes *.dsc ${CSDIR} *.buildinfo
+       rm -rf *~ build *.deb *.changes *.dsc *.buildinfo