blob: 9e82115f664e4e3bbddbfe2d7d1f443ba50fe314 (
plain)
- DATAFILES = src/data/bydele.json
- all: data-transform
- init: fetch-vendor-kk
- newfiles-vendor-kk = vendor/kk/*.json
- fetch-vendor-kk:
- bin/get-kk.sh
- touch $@
- data-transform: $(DATAFILES)
- src/data/%.json: vendor/kk/%.geojson
- mkdir $(dir $@)
- jq --tab --sort-keys . $< > $@
- clean:
- distclean: clean
- rm -f $(newfiles-vendor-kk)
- rm -f fetch-vendor-kk
- .PHONY: all init data-transform clean distclean
|