]> git.proxmox.com Git - pve-qemu-kvm.git/blobdiff - Makefile
bump version to 2.2-27
[pve-qemu-kvm.git] / Makefile
index b7b3cae3ec2b707da4c6349d676286758ce0073a..f0c4f2a52204b0789acebb07d0f4f8cf5b5f4513 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-RELEASE=3.2
+RELEASE=3.4
 
 # also update debian/changelog
-KVMVER=2.1
-KVMPKGREL=5
+KVMVER=2.2
+KVMPKGREL=27
 
 KVMPACKAGE=pve-qemu-kvm
 KVMDIR=qemu-kvm
@@ -18,8 +18,9 @@ all: ${KVM_DEB} ${KVMSRC}
 .PHONY: download
 download:
        rm -rf ${KVMDIR} ${KVMSRC}
-       git clone git://git.qemu-project.org/qemu.git -b master ${KVMDIR} 
-       cd ${KVMDIR}; git checkout v2.1.0
+       git clone git://git.qemu-project.org/qemu.git -b stable-2.2 ${KVMDIR} 
+       #git clone git://git.qemu-project.org/qemu.git ${KVMDIR} 
+       cd ${KVMDIR}; git checkout v2.2.1
        tar czf ${KVMSRC} --exclude CVS --exclude .git --exclude .svn ${KVMDIR}
 
 ${KVM_DEB} kvm: ${KVMSRC}
@@ -32,13 +33,7 @@ ${KVM_DEB} kvm: ${KVMSRC}
 
 .PHONY: upload
 upload: ${KVM_DEB} ${KVMDIR}-src.tar.gz
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
-       mkdir -p /pve/${RELEASE}/extra
-       rm -rf /pve/${RELEASE}/extra/Packages*
-       rm -rf /pve/${RELEASE}/extra/${KVMPACKAGE}_*.deb
-       cp ${KVM_DEB} /pve/${RELEASE}/extra
-       cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+       tar -cf - ${KVM_DEB} | ssh repoman@repo.proxmox.com upload --dist wheezy
 
 .PHONY: distclean
 distclean: clean