From 8f75fa200e1042f09f0fe3c4805f5600e3567f54 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 28 Dec 2022 13:51:16 +0100 Subject: makefile shuffle + WIP yomichan sentence export patch --- common.mk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 common.mk (limited to 'common.mk') diff --git a/common.mk b/common.mk new file mode 100644 index 0000000..5944b64 --- /dev/null +++ b/common.mk @@ -0,0 +1,8 @@ +%.min.js: %.js + sed 's/\/\/.*$$//g' $< | tr '\n' ' ' | sed 's/\t//g' | sed 's/ */ /g' > $@ + +%.min.css: %.css + cat $< | tr '\n' ' ' | sed 's/\t//g' | sed 's/ */ /g' > $@ + +%.html: %.m4 + m4 $< > $@ -- cgit v1.2.3