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