summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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