From: Mischa POSLAWSKY Date: Mon, 6 Nov 2023 22:10:11 +0000 (+0100) Subject: sample: make rule to checkout text data X-Git-Tag: v1.15~4 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/d66fb2e242cd73e7a3b5c3980d7491080fc5f8d1 sample: make rule to checkout text data --- diff --git a/Makefile b/Makefile index 20458be..7d1e2e3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -all: sitemap.xml light.css plan.plp UPDATE data/digraphs.inc.pl data/unicode-cover.inc.pl data/countries.inc.pl data/browser data/termcol-xcolor.inc.pl data/digraphs-xorg.inc.pl word cache -more: all +all: sitemap.xml light.css plan.plp UPDATE data cache .PHONY: force # applied to download after 2 hours download := $(shell [ -z $$(find data/download -mmin -120) ] && (touch data/download && echo force)) @@ -31,6 +30,8 @@ word/put.js: $(download) word/%.min.js: word/%.js uglifyjs -m '' $< -o $@ +data: data/digraphs.inc.pl data/unicode-cover.inc.pl data/countries.inc.pl data/browser data/termcol-xcolor.inc.pl data/digraphs-xorg.inc.pl data/unicode-sampler word + data/DerivedAge.txt: $(download) tools/wget-ifmodified http://www.unicode.org/Public/UNIDATA/$(@F) $@