summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile15
-rw-r--r--qooxdoo/source/class/Tr/Application.js2
2 files changed, 9 insertions, 8 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)
diff --git a/qooxdoo/source/class/Tr/Application.js b/qooxdoo/source/class/Tr/Application.js
index c5bcb18..349e4b8 100644
--- a/qooxdoo/source/class/Tr/Application.js
+++ b/qooxdoo/source/class/Tr/Application.js
@@ -42,7 +42,7 @@ qx.Class.define('Tr.Application',
top.set({
height: 'auto'
});
- var title = new qx.ui.basic.Atom(this.tr("SmokeTrace"));
+ var title = new qx.ui.basic.Atom('SmokeTrace VERSION');
with(title){
setTextColor('#b0b0b0');
setFont(qx.ui.core.Font.fromString('20px bold sans-serif'));