[Pkg-osm-commits] [SCM] josm branch, master, updated. debian/0.0.svn4064-3-23-g71677e5
Giovanni Mascellani
mascellani at poisson.phc.unipi.it
Tue Aug 30 08:34:03 UTC 2011
The following commit has been merged in the master branch:
commit e5448821bb469ece27e1a2f0609ba98a65389c1c
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date: Sat Aug 27 17:52:53 2011 +0200
Fix get-orig-source.
diff --git a/debian/rules b/debian/rules
index 1bb1b60..2a79034 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,10 +51,16 @@ get-orig-source:
svn info --xml -r ${SVNREV} ${SVNREPO} > ${DESTDIR}/REVISION
@echo Fetching internalization data
svn export ${SVNI18NREPO} ${DESTDIR}/i18n
- @echo Removing jar files and data_nodist dir
+ @echo Removing jar files
find ${DESTDIR} -name "*.jar" -exec rm -v {} \;
- rm -fr ${DESTDIR}/data_nodist
- @echo Building snapshot tarball
+ @echo Removing images_nodist
+ rm -fr ${DESTDIR}/images_nodist
+ @echo Removing other useless data
+ rm -fr ${DESTDIR}/data_nodist/*.osm ${DESTDIR}/data_nodist/*.gpx ${DESTDIR}/data_nodist/*.jpg
+ @echo Removing non-free or autogenerated data
+ rm -fr ${DESTDIR}/data/*.lang ${DESTDIR}/data/ntf_r93_b.gsb
+ rm -fr ${DESTDIR}/src/org/openstreetmap/josm/data/imagery/types/*
+ @echo Building snapshot tarball
tar czf ${DESTTGZ} -C `dirname ${DESTDIR}` `basename ${DESTDIR}`
@echo Cleaning up
rm -rf ${DESTDIR}
@@ -62,3 +68,4 @@ get-orig-source:
@echo To update debian/changelog type
@echo dch -v ${VERSION}-1
@echo .
+
--
Editor for OpenStreetMap
More information about the Pkg-osm-commits
mailing list