add makefile for less to css compilation

This commit is contained in:
Andrew Dolgov 2020-09-17 12:15:49 +03:00
parent 37f41a5246
commit 5415a0e033
1 changed files with 9 additions and 0 deletions

9
themes/Makefile Normal file
View File

@ -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