summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-06-10 17:23:29 +0200
committerTobi Oetiker <tobi@oetiker.ch>2008-06-10 17:23:29 +0200
commit32d5832640525150ef005ec7dc755507051291cd (patch)
treee777c3a46aedc226edc31b5b25661e2b108f83fa /Makefile
parentc3fad903ed660295184a59c627726c6eb52bf497 (diff)
downloadsmokeping-32d5832640525150ef005ec7dc755507051291cd.tar.gz
smokeping-32d5832640525150ef005ec7dc755507051291cd.tar.xz
prepare for the release of smokeping-2.4.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index e45325a..9684c04 100644
--- a/Makefile
+++ b/Makefile
@@ -167,14 +167,15 @@ smokeping-$(VERSION).tar.gz:
rm -rf smokeping-$(VERSION)/qooxdoo/source/perl/Qooxdoo/Services/Smokeping.pm
(cd smokeping-$(VERSION) && $(MAKE) doc)
(cd smokeping-$(VERSION)/qooxdoo && $(MAKE) build)
- ( cd smokeping-$(VERSION)/qooxdoo; \
- cp build/tr.cgi ../../htdocs/tr.cgi.dist;\
- cp build/index.html ../../htdocs/tr.html;\
- cp -rp build/script ../../htdocs;\
- cp -rp build/resource ../../htdocs;\
- cp -rp build/perl/* ../../lib;\
- make clean;\
+ (cd smokeping-$(VERSION)/qooxdoo; \
+ cp build/tr.cgi ../htdocs/tr.cgi.dist;\
+ 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)
+ $(PERL) -i~ -p -e 's/VERSION/$(VERSION)/' smokeping-$(VERSION)/htdocs/script/Tr.js
tar czvf smokeping-$(VERSION).tar.gz --exclude '*.tmp' smokeping-$(VERSION)
rm -rf smokeping-$(VERSION)