]> git.proxmox.com Git - pve-container.git/blobdiff - Makefile
provide a better error message for rbd without krbd
[pve-container.git] / Makefile
index f21b30a0831630bf6a881d602a3ffbd09649bb75..894ec755afec2215b26bf1643be87843fa140bbd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-RELEASE=4.0
+RELEASE=4.2
 
-VERSION=0.9
+VERSION=1.0
 PACKAGE=pve-container
-PKGREL=7
+PKGREL=70
 
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
@@ -16,7 +16,7 @@ all: ${DEB}
 dinstall: ${DEB}
        dpkg -i ${DEB}
 
-.PHONY: deb ${DEB}
+.PHONY: deb
 deb ${DEB}:
        rm -rf build
        mkdir build
@@ -37,11 +37,4 @@ distclean: clean
 
 .PHONY: upload
 upload: ${DEB}
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
-       mkdir -p /pve/${RELEASE}/extra
-       rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
-       rm -f /pve/${RELEASE}/extra/Packages*
-       cp ${DEB} /pve/${RELEASE}/extra
-       cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
-
+       tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload