From 5adb4522c9b7da52494067928875aa4d0d3eb355 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 4 Feb 2021 21:03:33 +0100 Subject: Css merge tool (and application with custom css) --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3