2018-11-08 03:33:13 +00:00
|
|
|
CSSDIR=../static/css/
|
|
|
|
|
|
|
|
all :
|
2019-09-20 22:22:01 +00:00
|
|
|
@command -v lessc >/dev/null 2>&1 || { echo >&2 "lessc is not installed, please run: make install or: less/install-less.sh"; exit 1; }
|
2019-09-20 17:06:49 +00:00
|
|
|
lessc app.less --clean-css="--s1 --advanced" $(CSSDIR)write.css
|
|
|
|
lessc fonts.less --clean-css="--s1 --advanced" $(CSSDIR)fonts.css
|
2019-09-18 22:56:22 +00:00
|
|
|
lessc icons.less --clean-css="--s1 --advanced" $(CSSDIR)icons.css
|
2020-03-11 15:55:55 +00:00
|
|
|
lessc prose.less --clean-css="--s1 --advanced" $(CSSDIR)prose.css
|
2018-11-08 03:33:13 +00:00
|
|
|
|
2019-05-02 09:07:01 +00:00
|
|
|
install :
|
2018-11-08 03:33:13 +00:00
|
|
|
./install-less.sh
|
|
|
|
$(MAKE) all
|
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f write.css
|
|
|
|
rm -f fonts.css
|
|
|
|
rm -f icons.css
|