Browse Source

Add generation of CSS files to phase 1 Makefile

master
Reinhard Müller 1 month ago
parent
commit
c0d73263af
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      Makefile

+ 12
- 0
Makefile View File

@@ -11,6 +11,18 @@
11 11
 .FORCE:
12 12
 
13 13
 # -----------------------------------------------------------------------------
14
+# Update CSS files
15
+# -----------------------------------------------------------------------------
16
+
17
+# This step recompiles the less files into the final CSS files to be
18
+# distributed to the web server.
19
+
20
+all: look/fsfe.min.css look/valentine.min.css
21
+look/%.min.css: $(shell find "look" -name '*.less')
22
+	echo "* Compiling $@"
23
+	lessc "look/$*.less" -x "$@"
24
+
25
+# -----------------------------------------------------------------------------
14 26
 # Update XSL stylesheets
15 27
 # -----------------------------------------------------------------------------
16 28
 

Loading…
Cancel
Save