X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/40575fa484663def379178642270af334291f385..e6b10645e7470208f5122055489c7a19733e50bc:/Makefile diff --git a/Makefile b/Makefile index 942727c..806e5be 100644 --- a/Makefile +++ b/Makefile @@ -86,9 +86,9 @@ data/wordlist.version.txt: force data/wordlist.%.inc.pl: tools/mkwordlist data/wordlist.version.txt $(call cmdsave,$< $*) data/word%.json: data/word%.inc.pl - $(call cmdsave,perl -MJSON=encode_json -E "print encode_json(do \$$ARGV[0])" ./$<) + $(call cmdsave,tools/mkjson $<) data/%.json: %.inc.pl - $(call cmdsave,perl -MJSON -E "print JSON->new->utf8->canonical->encode(do \$$ARGV[0])" ./$<) + $(call cmdsave,tools/mkjson $<) data/wordpairs.inc.pl: data/wordlist.version.txt tools/wordpairs >$@