]> git.proxmox.com Git - lxcfs.git/blobdiff - Makefile
bump version to 2.0.8-1
[lxcfs.git] / Makefile
index 14eae6aa895a7af94ae1fa9dc5e55ff90378a045..5e7f53a7d90ad9c811c966eda05476a739f44053 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
-RELEASE=4.4
-
 PACKAGE=lxcfs
-PKGVER=2.0.6
-DEBREL=pve1
+PKGVER=2.0.8
+DEBREL=1
 
 SRCDIR=${PACKAGE}
 SRCTAR=${SRCDIR}.tgz
@@ -38,21 +36,13 @@ download ${SRCTAR}:
 
 .PHONY: upload
 upload: $(DEBS)
-       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/${PACKAGE}-dbg_*.deb
-       rm -f /pve/${RELEASE}/extra/Packages*
-       cp $(DEBS) /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 - ${DEBS} | ssh repoman@repo.proxmox.com upload --product pve --dist stretch
 
 distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf ${SRCDIR} ${SRCDIR}.tmp *_${ARCH}.deb *.changes *.dsc 
-       find . -name '*~' -exec rm {} ';'
+       rm -rf ${SRCDIR} ${SRCDIR}.tmp *_${ARCH}.deb *.changes *.dsc  *.buildinfo
 
 .PHONY: dinstall
 dinstall: $(DEBS)