summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-07-03 21:55:51 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-07-03 22:22:58 +0200
commit159f8373059e4bc6d599e781d8cda1981a309216 (patch)
tree43632831f919893fd7d6efecf7d993d55516f931 /Makefile
parentf2df24cee6fe0572bb4e95d8dbff811234354c41 (diff)
downloadmutti-web-159f8373059e4bc6d599e781d8cda1981a309216.tar.gz
mutti-web-159f8373059e4bc6d599e781d8cda1981a309216.tar.bz2
mutti-web-159f8373059e4bc6d599e781d8cda1981a309216.zip
Use h1/h2 in content only (not in header)
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