aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/makefile b/makefile
index 61b512f..cef3be7 100644
--- a/makefile
+++ b/makefile
@@ -5,11 +5,14 @@ all: back-template.html front-template.html
card.min.js: card/card.js
sed 's/\/\/.*$$//g' $< | tr '\n' ' ' | sed 's/\t//g' | sed 's/ */ /g' > $@
+card.min.css: card/card.css
+ cat $< | tr '\n' ' ' | sed 's/\t//g' | sed 's/ */ /g' > $@
+
%.html: %.m4
m4 $< > $@
-back-template.html: card.min.js card/card.css
-front-template.html: card.min.js card/card.css
+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