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

sebastic-guest pushed a commit to branch master
in repository josm-plugins.

commit 082ef360eeff2df08f6933a5b49642cff43661c5
Author: Giovanni Mascellani <g...@debian.org>
Date:   Sat Sep 10 11:06:56 2011 +0200

    Better handling of translation files (don't use precompiled ones).
---
 debian/rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 9d66110..623a2f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@ export JAVA_HOME=/usr/lib/jvm/default-java
 export 
CLASSPATH=/usr/share/josm/josm.jar:/usr/share/java/metadata-extractor.jar
 
 SVNREPO := http://svn.openstreetmap.org/applications/editors/josm/plugins/
+SVNI18NREPO := http://svn.openstreetmap.org/applications/editors/josm/i18n/
 PLUGINS := cadastre-fr colorscheme DirectUpload editgpx lakewalker livegps 
measurement openvisible routing surveyor
 
 DATE := $(shell date +%Y%m%d)
@@ -40,8 +41,12 @@ get-orig-source:
        @for plugin in $(PLUGINS); do \
                        echo "Fetching $$plugin plugin"; \
                        svn export -r ${SVNREV} ${SVNREPO}/"$$plugin" 
${DESTDIR}/"$$plugin"; \
-       done                    
+                       echo "Removing precompiled translation files"; \
+                       rm -f ${DESTDIR}/"$$plugin"/data/*.lang; \
+       done
        svn info --xml 
http://svn.openstreetmap.org/applications/editors/josm/plugins/ > 
${DESTDIR}/svn-info.xml
+       @echo Fetching internalization data
+       svn export ${SVNI18NREPO} ${DESTDIR}/i18n
        @echo Removing jar files
        find ${DESTDIR} -name "*.jar" -exec rm -v {} \;
        @echo Building snapshot tarball                                         
                                                                                
        

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/josm-plugins.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to