GPX=test.gpx GPX=mn.gpx GPX=/home/rick/Caches/mn.gpx REMOTE=rick REMOTE=net MAPS= metro wmetro emetro smetro quad mtka #metro-0.1mi METRO= 45.10 -93.55 44.75 -92.91 WMETRO= 45.50 -94.54 44.50 -93.40 EMETRO= 45.25 -93.375 44.75 -92.675 SMETRO= 44.90 -93.65 44.65 -92.75 RICK= 45.20 -94 44.6 -92.91 QUAD= 45.00 -93.50 44.875 -93.375 QUAD= 45.01 -93.51 44.855 -93.355 MTKA= 44.98 -93.53 44.89 -93.39 FRC= all: $(MAPS:%=%.png) index.html # ./giantmap name thumbscale scale lat lon lat lon wayfile.gpx mtka.png: mtka.gpx giantmap Makefile mtka-thumb.png geo-map -Sgc -h mtka.html -o mtka.png -t mtka.gpx -W1800 -H1800 -s0 # ./giantmap -a2 $(FRC) mtka 750k 30000 $(MTKA) mtka1.gpx mtka-thumb.png: geo-map -a2 -o $@ -m `rect2geomap 250k $(MTKA)` mtka.gpx: mtka-outline.gpx mtka-caches.gpx gpx-merge mtka-outline.gpx mtka-caches.gpx > $@ mtka-caches.gpx: ~/Caches/mn.gpx mtka.poly gpsbabel -i gpx -f ~/Caches/mn.gpx \ -x polygon,file=mtka.poly \ -o gpx -F $@ quad.png: quad.gpx giantmap ./giantmap $(FRC) quad 750k 40000 $(QUAD) quad.gpx metro-0.1mi.png: $(GPX) giantmap ./giantmap -Sgc $(FRC) metro-0.1mi 750k 30000 $(METRO) $(GPX) metro.png: $(GPX) giantmap ./giantmap -Sgc $(FRC) metro 750k 30000 $(METRO) $(GPX) wmetro.png: $(GPX) giantmap ./giantmap -Sgc $(FRC) wmetro 2m 50000 $(WMETRO) $(GPX) emetro.png: $(GPX) giantmap ./giantmap -Sgc $(FRC) emetro 750k 50000 $(EMETRO) $(GPX) smetro.png: $(GPX) giantmap ./giantmap -Sgc $(FRC) smetro 750k 30000 $(SMETRO) $(GPX) rick.png: $(GPX) giantmap #./giantmap $(FRC) rick 750k 30000 $(RICK) $(GPX) ./giantmap $(FRC) rick 750k 60000 $(RICK) $(GPX) dead.png: deadhead.gpx giantmap ./giantmap $(FRC) dead 1m 50000 $(WMETRO) deadhead.gpx mn.gpx: # geo-newest -D1 -n1400 -ogpx -O$@ mn # rsync -a ipcroe:Caches/mn ~/Caches >/dev/null gpx-merge ~/Caches/mn/*.gpx > ~/Caches/mn.gpx index.html: Makefile FRC @echo "" >$@ @echo "" >>$@ @echo "Generated: `date`" >>$@ @echo "" >>$@ @echo "" >>$@ @for i in $(MAPS); do \ echo " "; \ if [ "$$i" = "emetro" ]; then \ echo ""; \ fi; \ done >>$@ @echo "" >>$@ @echo "
"; \ echo " "; \ echo " "; \ echo " "; \ echo "
$$i
"; \ echo " "; \ echo "
"; \ echo "
" >>$@ @echo "

Source Code" >>$@ @echo "" >>$@ @echo "" >>$@ clean: rm -f $(MAPS:%=%.png) rm -f $(MAPS:%=%-thumb.png) rm -f $(MAPS:%=%-raw.png) rm -f $(MAPS:%=%.html) rm -f $(MAPS:%=%.ll) rm -f $(MAPS:%=.%.ll) rm -f index.html web: webindex webdata websrc webindex: index.html ncftpput -V -m -f $$HOME/.ncftp-website mngca/giantmap \ index.html \ $(MAPS:%=%-thumb.png) \ $(MAPS:%=%.html) webremote: scp index.html \ giantmap \ Makefile \ quad.gpx \ $(MAPS:%=%.png) \ $(MAPS:%=%-thumb.png) \ $(MAPS:%=%.html) \ $(REMOTE):public_html/giantmap webdata: ncftpput -m -f $$HOME/.ncftp-website mngca/giantmap \ index.html \ $(MAPS:%=%.png) websrc: ncftpput -V -m -f $$HOME/.ncftp-website mngca/giantmap/src \ .htaccess \ giantmap \ Makefile FRC: