summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-07-04 20:09:06 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-07-04 20:14:40 +0200
commit5675054809738d26aba6df006902e5e9b23848c4 (patch)
tree71f8ad9a7995670d34809d04100c834e6cc066af /Makefile
parentf9cda15d631a169e4a8b5e392bc7c99e1555ec75 (diff)
downloadmutti-web-5675054809738d26aba6df006902e5e9b23848c4.tar.gz
mutti-web-5675054809738d26aba6df006902e5e9b23848c4.tar.bz2
mutti-web-5675054809738d26aba6df006902e5e9b23848c4.zip
Include Roboto downloaded from Google
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 42e2dde..ca23e48 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ pages=$(shell xsltproc xsl/main_filenames.xsl main.xml)
pages_gen=$(pages:%.xml=%.$(suffix))
pages_gen_html=$(pages:%.xml=%.html)
-common_depend=main.xml $(wildcard xsl/*.xsl) Makefile checkmark.svg style/style.css
+common_depend=main.xml $(wildcard xsl/*.xsl) Makefile checkmark.svg style/style.min.css
DEFAULT_VERBOSITY=0
@@ -50,8 +50,8 @@ html: $(pages_gen_html)
%.html: %.xml $(common_depend)
$(V_XSLT) $(xsltproc) --stringparam suffix .html $< | $(to_html) > $@
-style/style.min.css: style/style.css node_modules/.bin/postcss
- $(V_CSS) node_modules/.bin/postcss -u postcss-css-variables style/style.css | node_modules/.bin/cleancss > style/style.min.css
+style/style.min.css: style/style.css style/font.css node_modules/.bin/postcss
+ $(V_CSS) node_modules/.bin/postcss -u postcss-import -u postcss-css-variables style/style.css | node_modules/.bin/cleancss > style/style.min.css
clean:
rm -f $(pages_gen) checkmark.png