From 65487ffca47186727733822f0975fa4eeb319ca7 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 26 Sep 2024 00:37:31 +0200 Subject: administrative-codes: improve Makefile. --- administrative-codes/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'administrative-codes') 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 -- cgit v1.2.3