.PHONY: force # applied to download after 2 hours
download := $(shell [ -z $$(find data/download -mmin -120) ] && (touch data/download && echo force))
# atomically create file by command
.PHONY: force # applied to download after 2 hours
download := $(shell [ -z $$(find data/download -mmin -120) ] && (touch data/download && echo force))
# atomically create file by command
cache: $(patsubst %.inc.pl,data/%.json,$(wildcard charset-*.inc.pl) $(wildcard keyboard/altgr/*.inc.pl) writing-latn.inc.pl)
word: word/put.min.js data/wordlist.en.json data/wordlist.nl.json data/wordlist.ru.json data/wordpairs.json
cache: $(patsubst %.inc.pl,data/%.json,$(wildcard charset-*.inc.pl) $(wildcard keyboard/altgr/*.inc.pl) writing-latn.inc.pl)
word: word/put.min.js data/wordlist.en.json data/wordlist.nl.json data/wordlist.ru.json data/wordpairs.json