Modified less/Makefile: added /bin/lessc path which is returned by which lessc in CentOS 7 when lessc is installed via npm.

pull/99/head
Gytis Repečka 6 years ago
parent 601fc5d93e
commit 6da10f28ac
No known key found for this signature in database
GPG Key ID: BE7648906D706003
  1. 4
      less/Makefile

@ -2,6 +2,8 @@ ifeq ($(shell which lessc),/usr/bin/lessc)
LESSC=/usr/bin/lessc
else ifeq ($(shell which lessc),/usr/local/bin/lessc)
LESSC=/usr/local/bin/lessc
else ifeq ($(shell which lessc),/bin/lessc)
LESSC=/bin/lessc
else
LESSC=node_modules/.bin/lessc
endif
@ -14,7 +16,7 @@ all :
$(LESSC) fonts.less --clean-css="--s1 --advanced" $(CSSDIR)fonts.css
$(LESSC) icons.less --clean-css="--s1 --advanced" $(CSSDIR)icons.css
install :
install :
./install-less.sh
$(MAKE) all

Loading…
Cancel
Save