[josm-plugins] 22/369: debian/rules: only fetch configured plugins in get-orig-source target.

Bas Couwenberg sebastic at xs4all.nl
Sat Oct 18 12:03:21 UTC 2014


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 2cd6781456fafbfcc0569d406657bc479699fcc4
Author: Andreas Putzo <andreas at putzo.net>
Date:   Mon Apr 7 21:59:08 2008 +0000

    debian/rules: only fetch configured plugins in get-orig-source target.
---
 debian/rules | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 134a1d4..e307c34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,13 +14,19 @@ DEB_ANT_BUILD_TARGET := build
 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 {} \;

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



More information about the Pkg-grass-devel mailing list