2016-10-28 19:07:07 +00:00
|
|
|
all: build/openmaptiles.tm2source/data.yml build/mapping.yaml build/tileset.sql layers/railway/README.md layers/boundary/README.md layers/water/README.md layers/building/README.md layers/highway/README.md
|
2016-10-23 15:36:48 +00:00
|
|
|
|
|
|
|
build/openmaptiles.tm2source/data.yml:
|
|
|
|
mkdir -p build/openmaptiles.tm2source && generate-tm2source openmaptiles.yaml --host="postgres" --port=5432 --database="openmaptiles" --user="openmaptiles" --password="openmaptiles" > build/openmaptiles.tm2source/data.yml
|
|
|
|
|
|
|
|
build/mapping.yaml:
|
|
|
|
mkdir -p build && generate-imposm3 openmaptiles.yaml > build/mapping.yaml
|
|
|
|
|
|
|
|
build/tileset.sql:
|
|
|
|
mkdir -p build && generate-sql openmaptiles.yaml > build/tileset.sql
|
|
|
|
|
2016-10-28 19:07:07 +00:00
|
|
|
layers/highway/README.md:
|
|
|
|
generate-doc layers/highway/highway.yaml --diagram layers/highway/mapping > layers/highway/README.md
|
|
|
|
|
2016-10-28 17:40:41 +00:00
|
|
|
layers/railway/README.md:
|
|
|
|
generate-doc layers/railway/railway.yaml --diagram layers/railway/mapping > layers/railway/README.md
|
|
|
|
|
2016-10-28 18:39:38 +00:00
|
|
|
layers/boundary/README.md:
|
|
|
|
generate-doc layers/boundary/boundary.yaml --diagram layers/boundary/mapping > layers/boundary/README.md
|
|
|
|
|
2016-10-28 18:49:20 +00:00
|
|
|
layers/water/README.md:
|
|
|
|
generate-doc layers/water/water.yaml --diagram layers/water/mapping > layers/water/README.md
|
|
|
|
|
2016-10-28 18:52:42 +00:00
|
|
|
layers/building/README.md:
|
|
|
|
generate-doc layers/building/building.yaml > layers/building/README.md
|
|
|
|
|
2016-10-23 15:36:48 +00:00
|
|
|
clean:
|
2016-10-28 17:40:41 +00:00
|
|
|
rm -f build/openmaptiles.tm2source/data.yml && rm -f build/mapping.yaml && rm -f build/tileset.sql && rm -f layers/**/README.md&& rm -f layers/**/*.png
|