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

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Jun 28 15:15:18 CEST 2016


---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index ad6168e..0586cf4 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,9 @@ cpgtest: cpgtest.c
 dinstall: ${DEB}
 	dpkg -i ${DEB} 
 
-.PHONY: ${DEB} ${DBG_DEB}
-${DEB} ${DBG_DEB}:
+.PHONY: deb
+deb ${DEB} ${DBG_DEB}:
+	rm -f *.deb
 	rm -rf build
 	rsync -a --exclude .svn data/ build
 	cp -a debian build/debian
-- 
2.1.4




More information about the pve-devel mailing list