Code

fix windows build................................
authorjohanengelen <johanengelen@users.sourceforge.net>
Tue, 13 Jan 2009 23:12:46 +0000 (23:12 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Tue, 13 Jan 2009 23:12:46 +0000 (23:12 +0000)
build.xml

index 486b771d4b367930f23f66d96adb8b6f7595b00a..ce09ddfeaf42ae99cfa8c5bca8460464b3cfadbf 100644 (file)
--- a/build.xml
+++ b/build.xml
     <copy file="${src}/helper/sp-marshal.cpp.mingw"
           tofile="${src}/helper/sp-marshal.cpp"/>
           
-    <makefile file="inkscape-version.cpp">
+    <makefile file="${src}/inkscape-version.cpp">
         namespace Inkscape {
-            gchar const *version_string = "${version} r${svn.revision}"
-       }
+            char const *version_string = "${version} r${svn.revision}";
+        }
     </makefile>
     <makefile file="config.h">
         #ifndef _CONFIG_H_
             -fopenmp
         </flags>
         <defines>
-            -DVERSION=\"${version}\"
+            -DINKSCAPE_VERSION=\"${version}\"
             -DHAVE_CONFIG_H
             -D_INTL_REDIRECT_INLINE
             -DHAVE_SSL
     <delete dir="${dist}"/>
     <delete file="build.dep"/>
     <delete file="config.h"/>
-    <delete file="inkscape-version.cpp"/>
+    <delete file="${src}/inkscape-version.cpp"/>
 
     <delete file="${src}/test-main.cpp"/>
     <delete file="${src}/test-src.cpp"/>