]> git.proxmox.com Git - pve-container.git/blobdiff - Makefile
document bind/device mp permissions better
[pve-container.git] / Makefile
index 50a566e883a962a643b2776a811f8e665f0aab80..f0c21522a428ca36e3721d9cfe7f0e2e3a379e73 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
-RELEASE=4.0
-
 VERSION=1.0
 PACKAGE=pve-container
-PKGREL=16
+PKGREL=88
 
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
@@ -16,7 +14,7 @@ all: ${DEB}
 dinstall: ${DEB}
        dpkg -i ${DEB}
 
-.PHONY: deb ${DEB}
+.PHONY: deb
 deb ${DEB}:
        rm -rf build
        mkdir build
@@ -37,11 +35,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