]> git.proxmox.com Git - pve-qemu-kvm.git/commitdiff
buildsys: add phony deb target, make ${DEBS} non-phony
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 28 Jun 2016 13:16:25 +0000 (15:16 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 4 Jul 2016 13:10:13 +0000 (15:10 +0200)
Makefile

index 7bab7ab9df6f13887682a20b635a4bacb2c7ee94..9452c09835f11cc6d7647ce2fa21c6206686a3e2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,9 @@ download:
        git clone --depth=1 git://git.qemu-project.org/qemu.git -b v2.6.0 ${KVMDIR}
        tar czf ${KVMSRC} --exclude CVS --exclude .git --exclude .svn ${KVMDIR}
 
-${DEBS} kvm: ${KVMSRC}
+.PHONY: deb
+deb ${DEBS} kvm: ${KVMSRC}
+       rm -f *.deb
        rm -rf ${KVMDIR}
        tar xf ${KVMSRC} 
        cp -a debian ${KVMDIR}/debian