smon/static/less/Makefile
2024-06-25 08:59:07 +02:00

12 lines
230 B
Makefile

less = $(wildcard *.less)
_css = $(less:.less=.css)
css = $(addprefix ../css/${THEME}/, $(_css) )
../css/${THEME}/%.css: %.less theme-${THEME}.less
lessc --global-var="THEME=${THEME}" $< $@
all: $(css)
clean:
rm -vf $(css)