mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
commit
da1906b037
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -2,7 +2,7 @@ VERSION=2.0.0
|
||||||
BOOTSTRAP = ./bootstrap.css
|
BOOTSTRAP = ./bootstrap.css
|
||||||
BOOTSTRAP_MIN = ./bootstrap.min.css
|
BOOTSTRAP_MIN = ./bootstrap.min.css
|
||||||
BOOTSTRAP_LESS = ./lib/bootstrap.less
|
BOOTSTRAP_LESS = ./lib/bootstrap.less
|
||||||
LESS_COMPESSOR ?= `which lessc`
|
LESS_COMPRESSOR ?= `which lessc`
|
||||||
UGLIFY_JS ?= `which uglifyjs`
|
UGLIFY_JS ?= `which uglifyjs`
|
||||||
WATCHR ?= `which watchr`
|
WATCHR ?= `which watchr`
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ WATCHR ?= `which watchr`
|
||||||
#
|
#
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@@if test ! -z ${LESS_COMPESSOR}; then \
|
@@if test ! -z ${LESS_COMPRESSOR}; then \
|
||||||
sed -e 's/@VERSION/'"v${VERSION}"'/' -e 's/@DATE/'"`date`"'/' <${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp; \
|
sed -e 's/@VERSION/'"v${VERSION}"'/' -e 's/@DATE/'"`date`"'/' <${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp; \
|
||||||
lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP}; \
|
lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP}; \
|
||||||
lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP_MIN} --compress; \
|
lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP_MIN} --compress; \
|
||||||
|
|
Loading…
Reference in a new issue