X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=978231805bea5c4c13d9a4361d899c087cf2b160;hb=cbf9030a9394ea300f5dd233f75804c9c8d4117a;hp=80312cc3f6265f6b23a27e34a4dc28ca9c3db0c7;hpb=09a1fd2c508050069a7a035919f278b4faa5190f;p=pve-qemu-kvm.git diff --git a/Makefile b/Makefile index 80312cc..9782318 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ -RELEASE=3.0 +RELEASE=3.1 # also update debian/changelog -KVMVER=1.4 -KVMPKGREL=16 +KVMVER=1.7 +KVMPKGREL=1 KVMPACKAGE=pve-qemu-kvm KVMDIR=qemu-kvm KVMSRC=${KVMDIR}-src.tar.gz ARCH=amd64 +GITVERSION:=$(shell cat .git/refs/heads/master) KVM_DEB=${KVMPACKAGE}_${KVMVER}-${KVMPKGREL}_${ARCH}.deb @@ -17,14 +18,15 @@ all: ${KVM_DEB} ${KVMSRC} .PHONY: download download: rm -rf ${KVMDIR} ${KVMSRC} -# git clone git://git.qemu-project.org/qemu.git -b master ${KVMDIR} - git clone git://git.qemu-project.org/qemu-stable-1.4.git -b stable-1.4 ${KVMDIR} + git clone git://git.qemu-project.org/qemu.git -b master ${KVMDIR} +# git clone git://git.qemu-project.org/qemu-stable-1.7.git -b stable-1.7 ${KVMDIR} tar czf ${KVMSRC} --exclude CVS --exclude .git --exclude .svn ${KVMDIR} ${KVM_DEB} kvm: ${KVMSRC} rm -rf ${KVMDIR} tar xf ${KVMSRC} cp -a debian ${KVMDIR}/debian + echo "git clone git://git.proxmox.com/git/pve-qemu-kvm.git\\ngit checkout ${GITVERSION}" > ${KVMDIR}/debian/SOURCE cd ${KVMDIR}; dpkg-buildpackage -b -rfakeroot -us -uc lintian ${KVM_DEB} || true