Code

update mingwenv.bat to include cmake and pkgconfig path.
[inkscape.git] / build.xml
index 38f51f16044c01c90c0dcec480514c7e35589854..25a1a2c9670f04a4efd5613da3b42359acdf237c 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -87,6 +87,7 @@
     <mkdir dir="${build}"/>
     <mkdir dir="${build}/java"/>
     <mkdir dir="${build}/java/classes"/>
+    <mkdir dir="${build}/java/lib"/>
 
     <mkdir dir="${build}"/>
     <mkdir dir="${dist}"/>
     <copy file="${gtk}/bin/gspawn-win32-helper.exe" todir="${dist}"/>
     <copy file="${gtk}/bin/gspawn-win32-helper-console.exe" todir="${dist}"/>
 
+    <!-- Java - copying this dir is ok even if you dont use it -->
+    <copy todir="${dist}/share"> <fileset dir="${build}/java"/> </copy>
+
     <!-- PERL -->
     <copy file="${gtk}/perl/bin/perl58.dll" todir="${dist}"/>
 
     <!-- PYTHON -->
     <copy file="${gtk}/python/python25.dll" todir="${dist}"/>
     <copy file="${gtk}/python/python.exe" todir="${dist}/python"/>
+    <copy file="${gtk}/python/pythonw.exe" todir="${dist}/python"/>
     <copy todir="${dist}/python"> <fileset dir="${gtk}/python/Lib"/> </copy>
     <copy todir="${dist}/python"> <fileset dir="${gtk}/python/DLLs"/> </copy>
     <copy todir="${dist}/python"> <fileset dir="${gtk}/python/Scripts"/> </copy>
   </target>
 
 
+  <!--
+  ########################################################################
+  ## T A R G E T    :    JAVACLEAN
+  ########################################################################
+  -->
+  <target name="javaclean" depends=""
+      description="clean up java binding classes">
+        <delete dir="${build}/java"/>
+  </target>
+
 
 
   <!--
   ## T A R G E T    :    C L E A N
   ########################################################################
   -->
-  <target name="clean"
+  <target name="clean" depends="javaclean"
         description="clean up.  deleting build and distro dirs" >
 
     <delete dir="${build}"/>