summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 91a92be..e45325a 100644
--- a/Makefile
+++ b/Makefile
@@ -172,10 +172,9 @@ smokeping-$(VERSION).tar.gz:
cp build/index.html ../../htdocs/tr.html;\
cp -rp build/script ../../htdocs;\
cp -rp build/resource ../../htdocs;\
- cp -rp build/perl/* ../../lib )
- make clean
- rm -rf build
- cd ..
+ cp -rp build/perl/* ../../lib;\
+ make clean;\
+ rm -rf build)
tar czvf smokeping-$(VERSION).tar.gz --exclude '*.tmp' smokeping-$(VERSION)
rm -rf smokeping-$(VERSION)