git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only try to wrap the element if it's not disconnected, fixed #3828.
[jquery.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2d344c6
..
33efcea
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-10,9
+10,9
@@
PLUG_DIR = ../plugins
BASE_FILES = ${SRC_DIR}/core.js\
${SRC_DIR}/data.js\
BASE_FILES = ${SRC_DIR}/core.js\
${SRC_DIR}/data.js\
- ${SRC_DIR}/support.js\
${SRC_DIR}/selector.js\
${SRC_DIR}/event.js\
${SRC_DIR}/selector.js\
${SRC_DIR}/event.js\
+ ${SRC_DIR}/support.js\
${SRC_DIR}/ajax.js\
${SRC_DIR}/fx.js\
${SRC_DIR}/offset.js\
${SRC_DIR}/ajax.js\
${SRC_DIR}/fx.js\
${SRC_DIR}/offset.js\
@@
-52,6
+52,9
@@
VER = sed s/@VERSION/${JQ_VER}/
JAR = java -jar ${BUILD_DIR}/js.jar
MINJAR = java -jar ${BUILD_DIR}/yuicompressor-2.4.2.jar
JAR = java -jar ${BUILD_DIR}/js.jar
MINJAR = java -jar ${BUILD_DIR}/yuicompressor-2.4.2.jar
+DATE=`svn info . | grep Date: | sed 's/.*: //g'`
+REV=`svn info . | grep Rev: | sed 's/.*: //g'`
+
all: jquery lite min pack speed
@@echo "jQuery build complete."
all: jquery lite min pack speed
@@echo "jQuery build complete."
@@
-64,7
+67,10
@@
${JQ}: ${MODULES}
@@echo "Building" ${JQ}
@@mkdir -p ${DIST_DIR}
@@echo "Building" ${JQ}
@@mkdir -p ${DIST_DIR}
- @@cat ${MODULES} | ${VER} > ${JQ};
+ @@cat ${MODULES} | \
+ sed 's/Date:./&'"${DATE}"'/' | \
+ sed 's/Revision:./&'"${REV}"'/' | \
+ ${VER} > ${JQ};
@@echo ${JQ} "Built"
@@echo
@@echo ${JQ} "Built"
@@echo