Makefile

changeset 31
60045b362d71
parent 7
f3791dccfd03
child 53
1c934953c3e6
equal deleted inserted replaced
30:a5bfd99bc2a3 31:60045b362d71
1 all: gtfs regions-per-stop.json 1 all: gtfs.zip regions-per-stop.json
2 2
3 regions-per-stop.json: region-representatives.json regions.gmp gtfs 3 regions-per-stop.json: region-representatives.json regions.gmp gtfs.zip
4 ./compute-regions.py > regions-per-stop.json 4 ./compute-regions.py > regions-per-stop.json || rm -f regions-per-stop.json
5
6 gtfs: gtfs.zip
7 unzip gtfs.zip -d gtfs
8 5
9 gtfs.zip: 6 gtfs.zip:
10 wget http://data.foli.fi/gtfs/gtfs.zip 7 wget http://data.foli.fi/gtfs/gtfs.zip
11 8
12 clean: 9 clean:
13 rm -f regions-per-stop.json gtfs.zip 10 rm -f regions-per-stop.json gtfs.zip
14 rm -rf gtfs

mercurial