summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a15906)
raw | patch | inline | side by side (parent: 4a15906)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 11 Feb 2007 01:31:00 +0000 (01:31 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 11 Feb 2007 01:31:00 +0000 (01:31 +0000) |
build.xml | patch | blob | history |
diff --git a/build.xml b/build.xml
index 6940b952dafcf67a5d5d2aea9b9bff21b5835098..45386c8c85443f99fc47b66d37d7777f11fdc578 100644 (file)
--- a/build.xml
+++ b/build.xml
## T A R G E T : I N I T
########################################################################
-->
- <target name="init">
- <!-- Create the build directory structure used by compile -->
+ <target name="init"
+ description="Create the build directory structure used by compile">
+
<mkdir dir="${build}"/>
<mkdir dir="${dist}"/>
<copy file="${src}/helper/sp-marshal.h.mingw"
########################################################################
-->
<target name="compile" depends="init"
- description="compile the source " >
+ description="compile the source to .o" >
+
<!-- Compile from source to build -->
<cc cc="${arch}gcc" cxx="${arch}g++"
destdir="${build}/obj">
## T A R G E T : L I B
########################################################################
-->
- <target name="lib" depends="compile">
+ <target name="lib" depends="compile"
+ description="create a static library">
<staticlib command="${archutil}ar crsv"
file="${build}/libinkscape.a">
<fileset dir="${build}/obj">
## T A R G E T : I 1 8 N
########################################################################
-->
- <target name="i18n" depends="compile">
+ <target name="i18n" depends="compile"
+ description="compile gettext .po files to .mo">
+
<msgfmt todir="${build}/locale" owndir="true"
out="LC_MESSAGES/inkscape.mo">
<fileset dir="po">
## T A R G E T : L I N K
########################################################################
-->
- <target name="link" depends="lib">
+ <target name="link" depends="lib"
+ description="link objects and library to create executable">
+
<rc command="${archutil}windres"
file="${src}/inkscape.rc"
out="${build}/inkres.o">
## T A R G E T : L I N K I N K V I E W
########################################################################
-->
- <target name="linkinkview" depends="lib">
+ <target name="linkinkview" depends="lib"
+ description="link objects and library to create Inkview executable">
+
<rc command="${archutil}windres"
file="${src}/inkview.rc"
out="${build}/inkviewres.o">
########################################################################
-->
<target name="dist" depends="link,i18n"
- description="generate the distribution" >
+ description="generate the distribution directory with all needed files">
+
<!-- Create the distribution directory -->
<copy file="${build}/inkscape.exe" todir="${dist}"/>
<copy file="${build}/inkscape.dbg" todir="${dist}"/>
-->
<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 -->
+ description="clean up. deleting build and distro dirs" >
+
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>