DATAFILES = src/data/bydele.json all: 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 jq --tab --sort-keys . $< > $@ clean: distclean: clean rm -f $(newfiles-vendor-kk) rm -f fetch-vendor-kk .PHONY: all clean distclean