summaryrefslogtreecommitdiff
path: root/navit/maps
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-01-05 22:12:55 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-01-05 22:12:55 +0000
commit7f18b57119b9c0cc1ebd6c173499f10078324e97 (patch)
tree46aec98433af10fef44b8bf1e4810a881af901a9 /navit/maps
parent0255242d878ea531f558da7b0b6ae8b682c44ad7 (diff)
downloadnavit-7f18b57119b9c0cc1ebd6c173499f10078324e97.tar.gz
Fix:samplemap:Avoid running osm2navit multiple times when make is called with -j
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1902 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/maps')
-rw-r--r--navit/maps/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/navit/maps/Makefile.am b/navit/maps/Makefile.am
index 0784b15fb..312e98ad3 100644
--- a/navit/maps/Makefile.am
+++ b/navit/maps/Makefile.am
@@ -11,10 +11,12 @@ $(SAMPLE_MAP).osm.bz2:
wget -O $(SAMPLE_MAP).osm.bz2.tmp http://www.navit-project.org/maps/$(SAMPLE_MAP).osm.bz2
mv $(SAMPLE_MAP).osm.bz2.tmp $(SAMPLE_MAP).osm.bz2
-$(SAMPLE_MAP).bin $(SAMPLE_MAP).xml: $(SAMPLE_MAP).osm.bz2 $(top_builddir)/navit/osm2navit
+$(SAMPLE_MAP).bin: $(SAMPLE_MAP).osm.bz2 $(top_builddir)/navit/osm2navit
echo "Converting osm sample map"
bzcat $(SAMPLE_MAP).osm.bz2 | $(top_builddir)/navit/osm2navit --attr-debug-level=5 $(SAMPLE_MAP).bin.tmp
mv $(SAMPLE_MAP).bin.tmp $(SAMPLE_MAP).bin
+
+$(SAMPLE_MAP).xml: $(SAMPLE_MAP).bin
echo '<map type="binfile" enabled="yes" data="$$NAVIT_SHAREDIR/maps/osm_bbox_11.3,47.9,11.7,48.2.bin"/>' >$(SAMPLE_MAP).xml
distclean-local: