File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change
1
+ VERSION =1.2.0
1
2
DATE =$(shell DATE)
2
- BOOTSTRAP = ./bootstrap-1.2.0 .css
3
- BOOTSTRAP_MIN = ./bootstrap-1.2.0 .min.css
3
+ BOOTSTRAP = ./bootstrap-${VERSION} .css
4
+ BOOTSTRAP_MIN = ./bootstrap-${VERSION} .min.css
4
5
BOOTSTRAP_LESS = ./lib/bootstrap.less
5
6
LESS_COMPESSOR ?= ` which lessc `
6
7
WATCHR ?= ` which watchr `
7
8
8
9
build :
9
10
@@if test ! -z ${LESS_COMPESSOR} ; then \
10
- sed ' s/@DATE/' " ${DATE} " ' /' ${BOOTSTRAP_LESS} > ${BOOTSTRAP_LESS} .tmp; \
11
+ sed -e ' s/@VERSION/ ' " v ${VERSION} " ' / ' -e ' s/@ DATE/' " ${DATE} " ' /' < ${BOOTSTRAP_LESS} > ${BOOTSTRAP_LESS} .tmp; \
11
12
lessc ${BOOTSTRAP_LESS} .tmp > ${BOOTSTRAP} ; \
12
13
lessc ${BOOTSTRAP_LESS} .tmp > ${BOOTSTRAP_MIN} --compress; \
13
14
rm -f ${BOOTSTRAP_LESS} .tmp; \
Original file line number Diff line number Diff line change 1
1
/* !
2
- * Bootstrap v1.2.0
2
+ * Bootstrap @VERSION
3
3
*
4
4
* Copyright 2011 Twitter, Inc
5
5
* Licensed under the Apache License v2.0
You can’t perform that action at this time.
0 commit comments