[DebianGIS-dev] r1503 - packages/josm-plugins/trunk/debian
nd-guest at alioth.debian.org
nd-guest at alioth.debian.org
Mon Apr 7 21:03:40 UTC 2008
Author: nd-guest
Date: 2008-04-07 21:03:38 +0000 (Mon, 07 Apr 2008)
New Revision: 1503
Added:
packages/josm-plugins/trunk/debian/master.xml
Modified:
packages/josm-plugins/trunk/debian/rules
Log:
Add a master build file that calls selected plugin builds in a subant.
This reduces patching and gives more control about what's actually build.
Added: packages/josm-plugins/trunk/debian/master.xml
===================================================================
--- packages/josm-plugins/trunk/debian/master.xml (rev 0)
+++ packages/josm-plugins/trunk/debian/master.xml 2008-04-07 21:03:38 UTC (rev 1503)
@@ -0,0 +1,63 @@
+<project name="master">
+
+ <!-- Use an empty dummy directory as josm build dir -->
+ <property name="josm.build.dir" value="../tmp/josm"/>
+ <property name="josm" location="/usr/share/josm/josm.jar"/>
+ <property name="plugin.dist.dir" value="../dist"/>
+
+
+ <target name="init">
+ <mkdir dir="../dist"/>
+ <mkdir dir="../tmp/josm/lib"/>
+ </target>
+
+ <target name="build" depends="init">
+ <!--
+ <ant dir="../validator" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/validator.jar"/>
+ </ant>
+ -->
+ <ant dir="../utilsplugin" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/utilsplugin.jar"/>
+ </ant>
+
+ <ant dir="../wmsplugin" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/wmsplugin.jar"/>
+ </ant>
+
+ <ant dir="../livegps" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/livegps.jar"/>
+ </ant>
+ <!--
+ <ant dir="../lang" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/lang.jar"/>
+ </ant>
+ -->
+ <ant dir="../namefinder" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/namefinder.jar"/>
+ </ant>
+
+ <ant dir="../colorscheme" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/colorscheme.jar"/>
+ </ant>
+
+ <ant dir="../slippymap" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/slippymap.jar"/>
+ </ant>
+ <!--
+ <ant dir="../ywms" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/ywms.jar"/>
+ </ant>
+ -->
+ </target>
+ <target name="clean">
+ <ant dir="../utilsplugin" antfile="build.xml" target="clean"/>
+ <ant dir="../wmsplugin" antfile="build.xml" target="clean"/>
+ <ant dir="../livegps" antfile="build.xml" target="clean"/>
+ <ant dir="../namefinder" antfile="build.xml" target="clean"/>
+ <ant dir="../colorscheme" antfile="build.xml" target="clean"/>
+ <ant dir="../slippymap" antfile="build.xml" target="clean"/>
+ <delete dir="../tmp"/>
+ <delete dir="${plugin.dist.dir}"/>
+ </target>
+</project>
Modified: packages/josm-plugins/trunk/debian/rules
===================================================================
--- packages/josm-plugins/trunk/debian/rules 2008-04-07 15:07:09 UTC (rev 1502)
+++ packages/josm-plugins/trunk/debian/rules 2008-04-07 21:03:38 UTC (rev 1503)
@@ -8,6 +8,7 @@
JAVA_HOME := /usr/lib/jvm/java-gcj/
ANT_HOME := /usr/share/ant
DEB_JARS := /usr/share/josm/josm.jar
+DEB_ANT_BUILDFILE := $(CURDIR)/debian/master.xml
DEB_ANT_BUILD_TARGET := dist
DEB_ANT_CLEAN_TARGET := clean
More information about the Pkg-grass-devel
mailing list