summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b4ecc27..c3e9624 100644
--- a/Makefile
+++ b/Makefile
@@ -173,6 +173,8 @@ smokeping-$(VERSION).tar.gz:
cp -rp build/script htdocs
cp -rp build/resource htdocs
cp -rp build/perl/* lib
+ make clean
+ rm -rf build
cd ..
tar czvf smokeping-$(VERSION).tar.gz --exclude '*.tmp' smokeping-$(VERSION)
rm -rf smokeping-$(VERSION)