mirror of https://github.com/writeas/writefreely
A focused writing and publishing space.
https://write.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
462 B
22 lines
462 B
ifeq ($(shell which lessc),/usr/bin/lessc)
|
|
LESSC=/usr/bin/lessc
|
|
else
|
|
LESSC=node_modules/.bin/lessc
|
|
endif
|
|
export LESSC
|
|
|
|
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
|
|
|
|
install :
|
|
./install-less.sh
|
|
$(MAKE) all
|
|
|
|
clean :
|
|
rm -f write.css
|
|
rm -f fonts.css
|
|
rm -f icons.css
|
|
|