Fix broken build with parallel make #4

Merged
realloc merged 1 commit from realloc/frostfs-locode-db:fix/makedep into master 2023-04-21 09:30:43 +00:00

View file

@ -21,16 +21,16 @@ $(DIRS):
@echo "⇒ Ensure dir: $@" @echo "⇒ Ensure dir: $@"
@mkdir -p $@ @mkdir -p $@
in/airports.dat: in/airports.dat: $(DIRS)
wget -c https://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat -O in/airports.dat wget -c https://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat -O in/airports.dat
in/countries.dat: in/countries.dat: $(DIRS)
wget -c https://raw.githubusercontent.com/jpatokal/openflights/master/data/countries.dat -O in/countries.dat wget -c https://raw.githubusercontent.com/jpatokal/openflights/master/data/countries.dat -O in/countries.dat
in/continents.geojson: $(DIRS) in/continents.geojson: $(DIRS)
zcat continents.geojson.gz > in/continents.geojson zcat continents.geojson.gz > in/continents.geojson
unlocode: unlocode :$(DIRS)
wget -c https://service.unece.org/trade/locode/loc222csv.zip -O tmp/loc222csv.zip wget -c https://service.unece.org/trade/locode/loc222csv.zip -O tmp/loc222csv.zip
unzip -u tmp/loc222csv.zip -d in/ unzip -u tmp/loc222csv.zip -d in/