remove old srtm makefiles

This commit is contained in:
Gautier Hattenberger
2012-03-04 19:14:48 +01:00
parent c7387bb021
commit dc7eed2304
3 changed files with 0 additions and 41 deletions
-1
View File
@@ -55,7 +55,6 @@
/conf/conf.xml.20* /conf/conf.xml.20*
/conf/control_panel.xml /conf/control_panel.xml
/conf/%gconf.xml /conf/%gconf.xml
/conf/srtm_data/*
/conf/maps_data/* /conf/maps_data/*
/conf/maps.xml /conf/maps.xml
/conf/gps/ublox_conf /conf/gps/ublox_conf
-5
View File
@@ -251,7 +251,6 @@ dist_clean :
@echo "Warning: This removes all non-repository files. This means you will loose your aircraft list, your maps, your logfiles, ... if you want this, then run: make dist_clean_irreversible" @echo "Warning: This removes all non-repository files. This means you will loose your aircraft list, your maps, your logfiles, ... if you want this, then run: make dist_clean_irreversible"
dist_clean_irreversible: clean dist_clean_irreversible: clean
rm -rf conf/srtm_data
rm -rf conf/maps_data conf/maps.xml rm -rf conf/maps_data conf/maps.xml
rm -rf conf/conf.xml conf/controlpanel.xml rm -rf conf/conf.xml conf/controlpanel.xml
rm -rf var rm -rf var
@@ -276,8 +275,4 @@ sw/simulator/launchsitl:
cat src/$(@F) | sed s#OCAMLRUN#$(OCAMLRUN)# | sed s#OCAML#$(OCAML)# > $@ cat src/$(@F) | sed s#OCAMLRUN#$(OCAMLRUN)# | sed s#OCAML#$(OCAML)# > $@
chmod a+x $@ chmod a+x $@
#.SUFFIXES: .hgt.zip
%.hgt.zip:
cd data/srtm; $(MAKE) $(@)
-35
View File
@@ -1,35 +0,0 @@
DATADIR = $(PAPARAZZI_HOME)/conf/srtm_data
Q=@
SRTMData: $(DATADIR)/Africa $(DATADIR)/Australia $(DATADIR)/Eurasia $(DATADIR)/Islands $(DATADIR)/North_America $(DATADIR)/South_America
clean:
$(DATADIR):
mkdir $(DATADIR)
$(DATADIR)/Africa: $(DATADIR)
wget -O $(@) http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/$(@F)
$(DATADIR)/Australia: $(DATADIR)
wget -O $(@) http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/$(@F)
$(DATADIR)/Eurasia: $(DATADIR)
wget -O $(@) http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/$(@F)
$(DATADIR)/Islands: $(DATADIR)
wget -O $(@) http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/$(@F)
$(DATADIR)/North_America: $(DATADIR)
wget -O $(@) http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/$(@F)
$(DATADIR)/South_America: $(DATADIR)
wget -O $(@) http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/$(@F)
.SUFFIXES: .hgt.zip
%.hgt.zip: SRTMData
$(Q)wget -c -nv -N http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/$(shell grep -l $(@F) $(DATADIR)/* | sed -e s#$(DATADIR)/##)/$(@F)