diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-28 13:51:16 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-28 13:51:16 +0100 |
commit | 8f75fa200e1042f09f0fe3c4805f5600e3567f54 (patch) | |
tree | 8a88264e7bd04ef493d6ce8a481c899b22408d90 /anki-card-temlate/makefile | |
parent | ec000fcbb7e721bfd2638427d54f56f2dae76316 (diff) |
makefile shuffle + WIP yomichan sentence export patch
Diffstat (limited to 'anki-card-temlate/makefile')
-rw-r--r-- | anki-card-temlate/makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/anki-card-temlate/makefile b/anki-card-temlate/makefile index 8b715d3..deb4c29 100644 --- a/anki-card-temlate/makefile +++ b/anki-card-temlate/makefile @@ -1,18 +1,12 @@ all: back-template.html front-template.html -.PRECIOUS: card.min.js +.PRECIOUS: card.min.js card.min.css +.PHONY: clean -card.min.js: card.js - sed 's/\/\/.*$$//g' $< | tr '\n' ' ' | sed 's/\t//g' | sed 's/ */ /g' > $@ - -card.min.css: card.css - cat $< | tr '\n' ' ' | sed 's/\t//g' | sed 's/ */ /g' > $@ - -%.html: %.m4 - m4 $< > $@ +include ../common.mk back-template.html: card.min.js card.min.css front-template.html: card.min.js card.min.css clean: - $(RM) back-template.html front-template.html card.min.js + $(RM) back-template.html front-template.html card.min.js card.min.css |