$(call cmdsave,git log -1 --date=short --pretty="%ad %s")
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: word/put.min.js data/wordlist.en.json data/wordlist.nl.json data/wordlist.ru.json data/wordpairs.json
word/put.js: $(download)
tools/wget-ifmodified https://github.com/kriszyp/put-selector/raw/master/put.js $@
@[ -e $@ ] || date -Is >$@
tools/lastword $@ || true
-data/wordlist.inc.pl: tools/mkwordlist data/wordlist.version.txt
- $(call cmdsave,$<)
data/wordlist.%.inc.pl: tools/mkwordlist data/wordlist.version.txt
$(call cmdsave,$< $*)
data/word%.json: data/word%.inc.pl