diff options
author | Jonas Smedegaard <dr@jones.dk> | 2018-05-16 16:38:56 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2018-05-16 16:38:56 +0200 |
commit | cce3ff2ff667d08d46612394a4ab68fa09ccf1e8 (patch) | |
tree | df4a92b11792eb55060d615421413e7b491f6e55 | |
parent | 1084ecf65c5bfcb195cf29e123bf1c33e938bad9 (diff) |
Improve targets: Add phony target init. Fetch in target init (not all). Transform data in target all.
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ DATAFILES = src/data/bydele.json -all: fetch-vendor-kk +all: data-transform + +init: fetch-vendor-kk newfiles-vendor-kk = vendor/kk/*.json fetch-vendor-kk: @@ -18,4 +20,4 @@ distclean: clean rm -f $(newfiles-vendor-kk) rm -f fetch-vendor-kk -.PHONY: all clean distclean +.PHONY: all init data-transform clean distclean |