mirror of
https://github.com/writeas/writefreely
synced 2025-01-23 03:00:08 +01:00
Merge pull request #99 from gytisrepecka/master
Added /bin/lessc path to be compatible with CentOS 7
This commit is contained in:
commit
788713116f
@ -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…
Reference in New Issue
Block a user