Code

split inkview into dist-all target
authorishmal <ishmal@users.sourceforge.net>
Sun, 11 Feb 2007 01:10:33 +0000 (01:10 +0000)
committerishmal <ishmal@users.sourceforge.net>
Sun, 11 Feb 2007 01:10:33 +0000 (01:10 +0000)
build.xml

index d52ce4cf0eab573f6c3997617db7bc4b006cb678..fdce6206280b00465a4783b8158c43b0f5ccf473 100644 (file)
--- a/build.xml
+++ b/build.xml
   <property name="build"       location="build"/>
   <property name="dist"        location="inkscape"/>
 
+
+
+
+
   <target name="init">
     <!-- Create the build directory structure used by compile -->
     <mkdir dir="${build}"/>
     </makefile>
   </target>
 
+
+
+
+
   <target name="compile" depends="init"
         description="compile the source " >
     <!-- Compile from source to build -->
        </cc>
   </target>
   
+
+
+
+
   <target name="lib" depends="compile">
     <staticlib command="${archutil}ar crsv"
            file="${build}/libinkscape.a">
        </staticlib>
   </target>
 
+
+
+
+
   <target name="i18n" depends="compile">
     <msgfmt todir="${build}/locale" owndir="true"
          out="LC_MESSAGES/inkscape.mo">
        </msgfmt>
   </target>
 
+
+
+
+
   <target name="link" depends="lib">
     <rc command="${archutil}windres" 
            file="${src}/inkscape.rc"
        </link>
   </target>
   
+
+
+
+
   <target name="linkinkview" depends="lib">
     <rc command="${archutil}windres" 
            file="${src}/inkview.rc"
        </link>
   </target>
 
-  <target name="dist" depends="link,i18n,linkinkview"
+
+
+
+
+  <target name="dist" depends="link,i18n"
         description="generate the distribution" >
     <!-- Create the distribution directory -->
     <copy file="${build}/inkscape.exe" todir="${dist}"/>
     <copy file="${build}/inkscape.dbg" todir="${dist}"/>
-    <copy file="${build}/inkview.exe" todir="${dist}"/>
-    <copy file="${build}/inkview.dbg" todir="${dist}"/>
     <copy file="AUTHORS" todir="${dist}"/>
     <copy file="COPYING" todir="${dist}"/>
     <copy file="COPYING.LIB" todir="${dist}"/>
     <copy todir="${dist}/python"> <fileset dir="${gtk}/python/DLLs"/> </copy>
     <copy todir="${dist}/python"> <fileset dir="${gtk}/python/Scripts"/> </copy>
 
+  </target>
+
+
 
+
+  <target name="dist-all" depends="dist,linkinkview"
+        description="generate the distribution, along with inkview" >
+    <copy file="${build}/inkview.exe" todir="${dist}"/>
+    <copy file="${build}/inkview.dbg" todir="${dist}"/>
   </target>
 
+
+
+
   <target name="clean"
         description="clean up" >
     <!-- Delete the ${build} and ${dist} directory trees -->