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 |
|