X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/b4493558a0a37d5288191d2f5417b5cd9e88320a..9830d2491e85baa0f42cb0898f2c19974e21e96a:/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 >$@