]> git.proxmox.com Git - tar.git/blobdiff - Makefile
fix upload target
[tar.git] / Makefile
index 8062c1cc12a0305929b21993951d34164f5e70a2..1da86882c56e76add47e795a6636646577c576a8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
-RELEASE=4.0
+RELEASE=4.1
 
 # Note: compile as root fail, so you need to do that as unpriv. user
 
 TARVER=1.27.1
 DEBREL=2
-PVETARVER=${TARVER}+pve.2
+PVETARVER=${TARVER}+pve.3
 
 # also update changelog
 
@@ -21,7 +21,7 @@ DEB=tar_${PVETARVER}_${ARCH}.deb
 all: deb
 
 .PHONY: dinstall
-dinstall: deb
+dinstall: ${DEB}
        dpkg -i ${DEB}
 
 .PHONY: deb
@@ -38,11 +38,9 @@ deb ${DEB}: ${TARSRC}
 
 .PHONY: upload
 upload:
-       # this is no longer required
-       false 
        umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
        mkdir -p /pve/${RELEASE}/extra
-       rm -rf /pve/${RELEASE}/extra/apt-transport-https_*.deb
+       rm -rf /pve/${RELEASE}/extra/tar_*.deb
        rm -rf /pve/${RELEASE}/extra/Packages*
        cp ${DEB} /pve/${RELEASE}/extra
        cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz