[jlm] 10/11: generate the engine's translation files

Martin Quinson mquinson at alioth.debian.org
Sun Aug 4 22:23:12 UTC 2013


This is an automated email from the git hooks/post-receive script.

mquinson pushed a commit to branch debian-debian
in repository jlm.

commit 6bd793971ff606260b234168a481e7cc5eadadc6
Author: Martin Quinson <martin.quinson at loria.fr>
Date:   Mon Aug 5 00:12:25 2013 +0200

    generate the engine's translation files
---
 debian/rules |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index f1e38bb..06ce088 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,13 +28,16 @@ override_jh_build:
 		find src -name "*.java"; \
 	        find src -name "*.html"; \
 	        find src -name "*.png"; \
-		find src -name  "*.map"; \
-	        find img -name "*.png"`; \
+		find src -name  "*.map"`; \
 	for file in $$jarctn ; do\
 	   whereto=`echo $$file|sed 's|^src/||'` ; \
 	   install -D -m 644 $$file debian/_jh_build.jlm/$$whereto; \
 	done
 	
+	# Generate the translation files
+	ant i18n-generate-jar
+	cd debian/_jh_build.jlm && jar xf ../../lib/jlm-messages.jar org
+	
 	# Finally, ask the scripts to compile our stuff, too
 	jh_build --javacopts="-source 1.6 -target 1.6" --no-javadoc
 

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-java/jlm.git



More information about the pkg-java-commits mailing list