[josm] 10/28: Don't run {core, data}trans targets, pot files don't exist.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Oct 9 22:27:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository josm.
commit 5bff8f88e9c15f3d51d84e5103ddf516c12fd6d8
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Oct 9 14:15:33 2015 +0200
Don't run {core,data}trans targets, pot files don't exist.
---
debian/patches/00-build.patch | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/debian/patches/00-build.patch b/debian/patches/00-build.patch
index da6aa80..550ad9b 100644
--- a/debian/patches/00-build.patch
+++ b/debian/patches/00-build.patch
@@ -179,29 +179,29 @@ JARs and not depend on Internet connection.
<target name="init" description="Loads the Ant gettext and contrib tasks">
<taskdef name="gettext-extract" classname="org.xnap.commons.ant.gettext.GettextExtractKeysTask" classpath="${gettexttasks.jar}"/>
<!-- for the <foreach> possibility -->
-@@ -92,14 +92,15 @@
+@@ -92,14 +92,13 @@
<delete file="${po.build.dir}/data.pot"/>
<delete file="${po.build.dir}/plugins.raw.pot"/>
</target>
- <target name="build" depends="pot,allpot">
+- <antcall target="coretrans"/>
+- <antcall target="datatrans"/>
+- <foreach param="path" target="plugintrans">
+- <path>
+- <dirset dir="${plugin.dir}" includes="*" excludes="00_*" />
+- </path>
+- </foreach>
+ <target name="build.check">
+ <condition property="build.run">
+ <not><available file="build-timestamp"/></not>
+ </condition>
+ </target>
+ <target name="build" depends="build.check">
- <antcall target="coretrans"/>
- <antcall target="datatrans"/>
-- <foreach param="path" target="plugintrans">
-- <path>
-- <dirset dir="${plugin.dir}" includes="*" excludes="00_*" />
-- </path>
-- </foreach>
+ <touch file="build-timestamp"/>
</target>
<target name="singleplugintrans" depends="init">
<antcall target="plugintrans">
-@@ -141,15 +142,14 @@
+@@ -141,15 +140,14 @@
</if>
<delete dir="${po.build.dir}/plugin_${dir}"/>
</target>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/josm.git
More information about the Pkg-grass-devel
mailing list