summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2011-12-09 10:00:27 +0100
committerMartin Kosek <mkosek@redhat.com>2011-12-09 10:03:41 +0100
commit2403545163c169a013d99e658dc0a539f4a8fb9e (patch)
tree3e4a9d742dae13b193e6b66be252ddcfc6b02264
parent10264c9ea93fbecdc292643200d55274427ad3f7 (diff)
downloadfreeipa-2403545163c169a013d99e658dc0a539f4a8fb9e.tar.gz
freeipa-2403545163c169a013d99e658dc0a539f4a8fb9e.tar.xz
freeipa-2403545163c169a013d99e658dc0a539f4a8fb9e.zip
Remove old RPMROOT contents before it is used for rpmbuild
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9db0ff5c1..af50558c1 100644
--- a/Makefile
+++ b/Makefile
@@ -161,6 +161,7 @@ tarballs: local-archive
rm -rf dist/$(TARBALL_PREFIX)
rpmroot:
+ rm -rf $(RPMBUILD)
mkdir -p $(RPMBUILD)/BUILD
mkdir -p $(RPMBUILD)/RPMS
mkdir -p $(RPMBUILD)/SOURCES