smon/static/less/Makefile

12 lines
230 B
Makefile
Raw Permalink Normal View History

2024-04-29 08:36:13 +02:00
less = $(wildcard *.less)
_css = $(less:.less=.css)
2024-06-25 08:59:07 +02:00
css = $(addprefix ../css/${THEME}/, $(_css) )
2024-04-29 08:36:13 +02:00
2024-06-25 08:59:07 +02:00
../css/${THEME}/%.css: %.less theme-${THEME}.less
lessc --global-var="THEME=${THEME}" $< $@
2024-04-29 08:36:13 +02:00
all: $(css)
clean:
rm -vf $(css)