summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3facf98b743ae6426dd18677c6258d1d64ce0df7 (plain)
  1. DATAFILES = src/data/bydele.json
  2. all: data-transform
  3. init: fetch-vendor-kk
  4. newfiles-vendor-kk = vendor/kk/*.json
  5. fetch-vendor-kk:
  6. bin/get-kk.sh
  7. touch $@
  8. data-transform: $(DATAFILES)
  9. src/data/%.json: vendor/kk/%.geojson
  10. jq --tab --sort-keys . $< > $@
  11. clean:
  12. distclean: clean
  13. rm -f $(newfiles-vendor-kk)
  14. rm -f fetch-vendor-kk
  15. .PHONY: all init data-transform clean distclean