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