Add generation of CSS files to phase 1 Makefile

This commit is contained in:
Reinhard Müller 2019-05-28 11:27:02 +02:00
parent aa4314d53f
commit c0d73263af

View File

@ -10,6 +10,18 @@
.PHONY: all .FORCE
.FORCE:
# -----------------------------------------------------------------------------
# Update CSS files
# -----------------------------------------------------------------------------
# This step recompiles the less files into the final CSS files to be
# distributed to the web server.
all: look/fsfe.min.css look/valentine.min.css
look/%.min.css: $(shell find "look" -name '*.less')
echo "* Compiling $@"
lessc "look/$*.less" -x "$@"
# -----------------------------------------------------------------------------
# Update XSL stylesheets
# -----------------------------------------------------------------------------