aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-02-04 21:03:33 +0100
committerSébastien Dailly <sebastien@chimrod.com>2021-11-18 14:39:50 +0100
commitf0723c5a7ff9db68ab428f1aaca91809e8823fac (patch)
tree6480e2e10358bfc4b8b62ed18d07a7c572613185 /Makefile
parenta67b1cbc8213cae1bf8ff61581ab4c60147ff7f3 (diff)
Css merge tool (and application with custom css)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 809fb10..510d3bc 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,10 @@ help:
@echo 'Set the RELATIVE variable to 1 to enable relative urls '
@echo ' '
-html:
+content/extras/style.min.css: theme/Flex/static/stylesheet/style.min.css theme/custom/custom.css
+ css_merge -o $@ $^
+
+html: content/extras/style.min.css
"$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS)
clean:
@@ -70,7 +73,7 @@ devserver:
devserver-global:
$(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -b 0.0.0.0
-publish:
+publish: content/extras/style.min.css
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
sync: publish