mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
remove old srtm makefiles
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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) $(@)
|
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user