Author: nd-guest
Date: 2008-04-07 21:59:08 +0000 (Mon, 07 Apr 2008)
New Revision: 1507

Modified:
   packages/josm-plugins/trunk/debian/rules
Log:
debian/rules: only fetch configured plugins in get-orig-source target.


Modified: packages/josm-plugins/trunk/debian/rules
===================================================================
--- packages/josm-plugins/trunk/debian/rules    2008-04-07 21:12:55 UTC (rev 
1506)
+++ packages/josm-plugins/trunk/debian/rules    2008-04-07 21:59:08 UTC (rev 
1507)
@@ -14,13 +14,19 @@
 DEB_ANT_CLEAN_TARGET := clean
 
 SVNREPO := http://svn.openstreetmap.org/applications/editors/josm/plugins/
+PLUGINS = validator colorscheme livegps namefinder slippymap utilsplugin 
wmsplugin
+
 DATE := $(shell date +%Y%m%d)
 
 get-orig-source:
        dh_testdir
        test -d ../tarballs/. || mkdir -p ../tarballs
        @echo Downloading josm-plugins from ${SVNREPO}
-       svn export -r HEAD ${SVNREPO} ../tarballs/josm-plugins-0.0.0.${DATE}
+       @mkdir ../tarballs/josm-plugins-0.0.0.${DATE}
+       @for plugin in $(PLUGINS); do \
+                       echo "Fetching $$plugin"; \
+                       svn export -r HEAD ${SVNREPO}/"$$plugin" 
../tarballs/josm-plugins-0.0.0.${DATE}/"$$plugin"; \
+       done                    
        svn info --xml 
http://svn.openstreetmap.org/applications/editors/josm/plugins/ > 
../tarballs/josm-plugins-0.0.0.${DATE}/svn-info.xml
        @echo Removing jar files
        find ../tarballs/josm-plugins-0.0.0.${DATE} -name "*.jar" -exec rm -v 
{} \;


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

Reply via email to