2019-09-18 23:06:40 +02:00
|
|
|
LESSC=$(shell command -v lessc 2> /dev/null)
|
2019-08-09 20:31:42 +02:00
|
|
|
|
|
|
|
ifndef LESSC
|
|
|
|
$(error "less is not installed, please run install-less.sh")
|
2018-11-08 04:33:13 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
CSSDIR=../static/css/
|
|
|
|
|
|
|
|
all :
|
|
|
|
$(LESSC) app.less --clean-css="--s1 --advanced" $(CSSDIR)write.css
|
|
|
|
$(LESSC) fonts.less --clean-css="--s1 --advanced" $(CSSDIR)fonts.css
|
|
|
|
$(LESSC) icons.less --clean-css="--s1 --advanced" $(CSSDIR)icons.css
|
|
|
|
|
2019-05-02 11:07:01 +02:00
|
|
|
install :
|
2018-11-08 04:33:13 +01:00
|
|
|
./install-less.sh
|
|
|
|
$(MAKE) all
|
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f write.css
|
|
|
|
rm -f fonts.css
|
|
|
|
rm -f icons.css
|