Makefile

changeset 7
f3791dccfd03
parent 2
48efa8ca14dd
child 31
60045b362d71
equal deleted inserted replaced
6:88cfb916c852 7:f3791dccfd03
1 all: gtfs pysäkkialueet.json 1 all: gtfs regions-per-stop.json
2 2
3 pysäkkialueet.json: alue-edustajat.json alueet.gmp gtfs 3 regions-per-stop.json: region-representatives.json regions.gmp gtfs
4 ./alueet.py > pysäkkialueet.json 4 ./compute-regions.py > regions-per-stop.json
5 5
6 gtfs: gtfs.zip 6 gtfs: gtfs.zip
7 unzip gtfs.zip -d gtfs 7 unzip gtfs.zip -d gtfs
8 8
9 gtfs.zip: 9 gtfs.zip:
10 wget http://data.foli.fi/gtfs/gtfs.zip 10 wget http://data.foli.fi/gtfs/gtfs.zip
11 11
12 clean: 12 clean:
13 rm -f pysäkkialueet.json gtfs.zip 13 rm -f regions-per-stop.json gtfs.zip
14 rm -rf gtfs 14 rm -rf gtfs

mercurial