]> git.proxmox.com Git - pve-cluster.git/commitdiff
buildsys: add phony deb target, make ${DEBS} non-phony
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 28 Jun 2016 13:11:00 +0000 (15:11 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 28 Jun 2016 13:14:28 +0000 (15:14 +0200)
Makefile

index ad6168e6197722b90bfb4829766d41abb6ea1c3c..0586cf4a3c378f1b3e123d6ecc131c19a9edf4a6 100644 (file)
--- 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