From c0d73263afa94ef842f4bac9cdbd49e4c92fea50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20M=C3=BCller?= Date: Tue, 28 May 2019 11:27:02 +0200 Subject: [PATCH] Add generation of CSS files to phase 1 Makefile --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index a4a29d3b18..eaeae300e6 100644 --- a/Makefile +++ b/Makefile @@ -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 # -----------------------------------------------------------------------------