]> git.proxmox.com Git - pve-container.git/blobdiff - Makefile
Revert "poststop: reboot: wait for lxc to exit before rebooting"
[pve-container.git] / Makefile
index 4b20e8c0ceaed23baaf76377914cc6613c6b8d1e..18a0bba37b51a076e783a09bf0eac71f925ff400 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
-RELEASE=4.2
-
-VERSION=1.0
+VERSION=2.0
 PACKAGE=pve-container
-PKGREL=65
+PKGREL=1
 
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
@@ -16,8 +14,9 @@ all: ${DEB}
 dinstall: ${DEB}
        dpkg -i ${DEB}
 
-.PHONY: deb ${DEB}
-deb ${DEB}:
+.PHONY: deb
+deb: ${DEB}
+${DEB}:
        rm -rf build
        mkdir build
        rsync -a src/ build
@@ -37,11 +36,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 --product pve --dist stretch