summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-07-24 20:24:37 +0200
committerTobi Oetiker <tobi@oetiker.ch>2008-07-24 20:24:37 +0200
commitcad5654594f4ff6865795809376d19e15272cd5b (patch)
tree8794863c2db8d42fd140707b15d831185a3a4749
parent8c3005527f64d656e4d9321116fd893525a150da (diff)
downloadsmokeping-cad5654594f4ff6865795809376d19e15272cd5b.tar.gz
smokeping-cad5654594f4ff6865795809376d19e15272cd5b.tar.xz
prepare for the release of smokeping-2.4.2
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2685b17..778c0d3 100644
--- a/Makefile
+++ b/Makefile
@@ -156,10 +156,10 @@ docdirs:
# patch first so Smokeping.pm is older than smokeping_config.pod in the tarball
smokeping-$(VERSION).tar.gz:
- $(PERL) -i~ -p -e 's/VERSION="\d.*?"/VERSION="$(NUMVERSION)"/' lib/Smokeping.pm
- $(PERL) -i~ -p -e 's/Smokeping \d.*?;/Smokeping $(NUMVERSION);/' bin/smokeping.dist htdocs/smokeping.cgi.dist bin/tSmoke.dist
- $(PERL) -i~ -p -e 'do { my @d = localtime; my $$d = (1900+$$d[5])."/".(1+$$d[4])."/".$$d[3]; print "$$d -- released version $(VERSION)\n\n" } unless $$done++ || /version $(VERSION)/' CHANGES
- $(PERL) -i~ -p -e "s/Atom\('SmokeTrace \S+?'/Atom('SmokeTrace "$(VERSION)"'/" qooxdoo/source/class/Tr/Application.js
+ $(PERL) -i -p -e 's/VERSION="\d.*?"/VERSION="$(NUMVERSION)"/' lib/Smokeping.pm
+ $(PERL) -i -p -e 's/Smokeping \d.*?;/Smokeping $(NUMVERSION);/' bin/smokeping.dist htdocs/smokeping.cgi.dist bin/tSmoke.dist
+ $(PERL) -i -p -e 'do { my @d = localtime; my $$d = (1900+$$d[5])."/".(1+$$d[4])."/".$$d[3]; print "$$d -- released version $(VERSION)\n\n" } unless $$done++ || /version $(VERSION)/' CHANGES
+ $(PERL) -i -p -e "s/Atom\('SmokeTrace \S+?'/Atom('SmokeTrace "$(VERSION)"'/" qooxdoo/source/class/Tr/Application.js
svn commit -m "prepare for the release of smokeping-$(VERSION)"
svn export $(SVNREPO)/trunk/software smokeping-$(VERSION)
rm -rf smokeping-$(VERSION)/qooxdoo/source/class/Smokeping
@@ -177,6 +177,7 @@ smokeping-$(VERSION).tar.gz:
cp -rp build/perl/* ../lib;\
make clean; \
rm -rf build)
+ $(PERL) -i -p -e 's/SmokeTrace VERSION/SmokeTrace $(VERSION)/' smokeping-$(VERSION)/htdocs/script/Tr.js
tar czvf smokeping-$(VERSION).tar.gz --exclude '*.tmp' smokeping-$(VERSION)
rm -rf smokeping-$(VERSION)