charset: make json cache from data includes
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 29 Oct 2023 01:38:10 +0000 (02:38 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 4 Nov 2023 18:10:38 +0000 (19:10 +0100)
Makefile

index 77c9cb0e6d6fb833805d1740ed3dc4440205f5d2..1f48304d049013ca134b99c91f42cead1bc99b14 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ plan.plp: TODO
 UPDATE: $(download)
        $(call cmdsave,git log -1 --date=short --pretty="%ad    %s")
 
-cache: data/writing-latn.json
+cache: $(patsubst %.inc.pl,data/%.json,$(wildcard charset-*.inc.pl) writing-latn.inc.pl)
 word: word/put.min.js data/wordlist.inc.pl data/wordlist.en.json data/wordlist.nl.json data/wordlist.ru.json data/wordpairs.json
 
 word/put.js: $(download)