diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-09-26 00:37:31 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-09-26 00:37:31 +0200 |
commit | 65487ffca47186727733822f0975fa4eeb319ca7 (patch) | |
tree | 80bcac86d49225ac1138291c97bbfe9f18641e6a | |
parent | 7cda119879cf48ba72ba34522fa9cdf9ef6d9b49 (diff) |
administrative-codes: improve Makefile.
-rw-r--r-- | administrative-codes/Makefile | 4 |
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 |