From 5415a0e033bb2c6ad2530d4e52ac602eecbbd5ae Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 17 Sep 2020 12:15:49 +0300 Subject: [PATCH] add makefile for less to css compilation --- themes/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 themes/Makefile diff --git a/themes/Makefile b/themes/Makefile new file mode 100644 index 000000000..b9298207c --- /dev/null +++ b/themes/Makefile @@ -0,0 +1,9 @@ +.PHONY: clean + +ALL: compact.css compact_night.css light.css night_blue.css night.css + +%.css: %.less light/*.less + lessc --source-map=$(patsubst %.less,%.css.map,${<}) ${<} ${@} + +clean: + rm -f *.css *.css.map