summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ecfe00f..58f72a3 100644
--- a/Makefile
+++ b/Makefile
@@ -20,9 +20,13 @@ V_GEN = $(v_gen_$(V))
v_gen_ = $(v_gen_$(DEFAULT_VERBOSITY))
v_gen_0 = @echo " GEN " $@;
+V_CSS = $(v_css_$(V))
+v_css_ = $(v_css_$(DEFAULT_VERBOSITY))
+v_css_0 = @echo " CSS " $@;
+
.PHONY: all
-all: $(pages_gen) checkmark.png
+all: $(pages_gen) checkmark.png style/style.min.css
%.png: %.svg
$(V_GEN) $(svg2png) $< > $@
@@ -33,7 +37,7 @@ all: $(pages_gen) checkmark.png
$(V_XSLT) $(xsltproc) $< > $@
style/style.min.css: style/style.css
- node_modules/.bin/postcss -u postcss-css-variables style/style.css | node_modules/.bin/cleancss > style/style.min.css
+ $(V_CSS) node_modules/.bin/postcss -u postcss-css-variables style/style.css | node_modules/.bin/cleancss > style/style.min.css
clean:
rm -f $(pages_gen) checkmark.png