diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-01-13 02:27:04 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-01-13 02:27:04 +0000 |
| commit | a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50 (patch) | |
| tree | 9efdab733f1ae2b3580143a0e1c91a934a020712 /build.xml | |
| parent | Latest set of tango icons (by jEsuSdA 8) ) (diff) | |
| download | inkscape-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.xml | 24 |
1 files changed, 5 insertions, 19 deletions
@@ -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"/> |
