diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1bf0d24 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +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 |