mirror of
https://github.com/writefreely/writefreely
synced 2025-02-17 16:28:23 +00: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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue