[pve-devel] [PATCH qemu-server] buildsys: only deb should be phony; start by removing debs
Wolfgang Bumiller
w.bumiller at proxmox.com
Mon Jul 4 08:33:57 CEST 2016
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1502cce..4984e4b 100644
--- a/Makefile
+++ b/Makefile
@@ -89,8 +89,9 @@ install: ${PKGSOURCES}
gzip -9 ${DESTDIR}/${MAN5DIR}/qm.conf.5
cd ${DESTDIR}/${MAN5DIR}; ln -s qm.conf.5.gz vm.conf.5.gz
-.PHONY: deb ${DEB}
+.PHONY: deb
deb ${DEB}: ${PKGSOURCES}
+ rm -f *.deb
rm -rf build
mkdir build
make DESTDIR=${CURDIR}/build install
--
2.1.4
More information about the pve-devel
mailing list