Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F10384547
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
932 B
Subscribers
None
View Options
diff --git a/less/Makefile b/less/Makefile
index 85a64f3..3484e29 100644
--- a/less/Makefile
+++ b/less/Makefile
@@ -1,21 +1,19 @@
-LESSC=$(shell command -v lessc 2> /dev/null)
-
-ifndef LESSC
- $(error "less is not installed, please run install-less.sh")
+ifeq (,$(shell command -v lessc 2> /dev/null))
+$(error "less is not installed, please run install-less.sh")
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
+ 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
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 23, 5:19 PM (1 d, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3104713
Attached To
rWF WriteFreely
Event Timeline
Log In to Comment