summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2009-01-13 02:27:04 +0000
committertweenk <tweenk@users.sourceforge.net>2009-01-13 02:27:04 +0000
commita3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50 (patch)
tree9efdab733f1ae2b3580143a0e1c91a934a020712 /build.xml
parentLatest set of tango icons (by jEsuSdA 8) ) (diff)
downloadinkscape-a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50.tar.gz
inkscape-a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50.zip
Improved version reporting. Add SVN revision and custom status to
version string on Linux. (bzr r7123)
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml24
1 files changed, 5 insertions, 19 deletions
diff --git a/build.xml b/build.xml
index f16c1486c..486b771d4 100644
--- a/build.xml
+++ b/build.xml
@@ -97,8 +97,10 @@
<copy file="${src}/helper/sp-marshal.cpp.mingw"
tofile="${src}/helper/sp-marshal.cpp"/>
- <makefile file="inkscape_version.h">
- #define INKSCAPE_VERSION "${version}, revision ${svn.revision}"
+ <makefile file="inkscape-version.cpp">
+ namespace Inkscape {
+ gchar const *version_string = "${version} r${svn.revision}"
+ }
</makefile>
<makefile file="config.h">
#ifndef _CONFIG_H_
@@ -183,22 +185,6 @@
</makefile>
</target>
-
-
- <!--
- ########################################################################
- ## T A R G E T : T O U C H A B O U T
- ########################################################################
- -->
- <target name="touchabout"
- description="update the modification time of aboutbox.cpp">
- <!-- not good <touch file="${src}/ui/dialog/aboutbox.cpp"/> -->
- <!-- better -->
- <delete file="${build}/obj/ui/dialog/aboutbox.o"/>
- <delete file="inkscape_version.h"/>
- </target>
-
-
<!--
########################################################################
## T A R G E T : C X X T E S T
@@ -899,7 +885,7 @@
<delete dir="${dist}"/>
<delete file="build.dep"/>
<delete file="config.h"/>
- <delete file="inkscape_version.h"/>
+ <delete file="inkscape-version.cpp"/>
<delete file="${src}/test-main.cpp"/>
<delete file="${src}/test-src.cpp"/>