summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-05-16 16:38:56 +0200
committerJonas Smedegaard <dr@jones.dk>2018-05-16 16:38:56 +0200
commitcce3ff2ff667d08d46612394a4ab68fa09ccf1e8 (patch)
treedf4a92b11792eb55060d615421413e7b491f6e55
parent1084ecf65c5bfcb195cf29e123bf1c33e938bad9 (diff)
Improve targets: Add phony target init. Fetch in target init (not all). Transform data in target all.
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1bf0d24..3facf98 100644
--- a/Makefile
+++ b/Makefile
@@ -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