Page MenuHomeMusing Studio

No OneTemporary

diff --git a/less/Makefile b/less/Makefile
index da6be71..1278c0a 100644
--- a/less/Makefile
+++ b/less/Makefile
@@ -1,18 +1,16 @@
CSSDIR=../static/css/
all :
-ifeq (,$(shell command -v lessc 2> /dev/null))
-$(error "less is not installed, please run install-less.sh")
-endif
+ @command -v lessc >/dev/null 2>&1 || { echo >&2 "less is not installed, please run install-less.sh."; exit 1; }
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
install :
./install-less.sh
$(MAKE) all
clean :
rm -f write.css
rm -f fonts.css
rm -f icons.css

File Metadata

Mime Type
text/x-diff
Expires
Sun, Aug 31, 1:37 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3382109

Event Timeline