summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-12-11 14:32:11 +0200
committerAvi Kivity <avi@qumranet.com>2007-12-11 14:32:11 +0200
commitaaef402b8148ad02e29d63bf84a4d63c52356d2d (patch)
tree61baea5e5630e7750e4fa80bdcbefd648ad8f2b2 /Makefile
parent58f77c2ef261869e58b38f0fa349dbbba48245f9 (diff)
kvm: rpm: clear BUILD directory
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 04b72240..122732f1 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,7 @@ tmpspec = .tmp.kvm.spec
RPMTOPDIR = $$(pwd)/rpmtop
rpm: srpm
+ rm -rf $(RPMTOPDIR)/BUILD
mkdir -p $(RPMTOPDIR)/{BUILD,RPMS/$$(uname -i)}
rpmbuild --rebuild \
--define="_topdir $(RPMTOPDIR)" \