[pve-devel] [PATCH kvm 2/2] buildsys: add phony deb target, make ${DEBS} non-phony

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Jul 4 15:52:58 CEST 2016


---
Note: applied together with Thomas L.'s qemu 2.6 patches

 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 7bab7ab..9452c09 100644
--- 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
-- 
2.1.4




More information about the pve-devel mailing list