aboutsummaryrefslogtreecommitdiffstats
path: root/administrative-codes/Makefile
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-09-26 00:37:31 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-09-26 00:37:31 +0200
commit65487ffca47186727733822f0975fa4eeb319ca7 (patch)
tree80bcac86d49225ac1138291c97bbfe9f18641e6a /administrative-codes/Makefile
parent7cda119879cf48ba72ba34522fa9cdf9ef6d9b49 (diff)
administrative-codes: improve Makefile.
Diffstat (limited to 'administrative-codes/Makefile')
-rw-r--r--administrative-codes/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/administrative-codes/Makefile b/administrative-codes/Makefile
index c0008bc..e8b8f2b 100644
--- a/administrative-codes/Makefile
+++ b/administrative-codes/Makefile
@@ -3,6 +3,8 @@ CSV_SOURCES = counties.csv municipalities.csv
GENERATED_FILES = $(addsuffix .json,$(OUT)) $(addsuffix .json.br,$(OUT))
all: $(GENERATED_FILES)
+update: $(CSV_SOURCES)
+
$(CSV_SOURCES): %.csv:
./update
@@ -16,4 +18,4 @@ $(CSV_SOURCES): %.csv:
clean:
rm -f -- $(GENERATED_FILES)
-.PHONY: update clean
+.PHONY: all update clean