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."
${JQ}: ${MODULES}
@@echo "Building" ${JQ}
+ echo "${DATE}"
@@mkdir -p ${DIST_DIR}
- @@cat ${MODULES} | ${VER} > ${JQ};
+ @@cat ${MODULES} | \
+ sed 's/Date:./&'"${DATE}"'/' | \
+ sed 's/Revision:./&'"${REV}"'/' | \
+ ${VER} > ${JQ};
@@echo ${JQ} "Built"
@@echo
-/*
- * jQuery @VERSION - New Wave Javascript
- *
- * Copyright (c) 2008 John Resig (jquery.com)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * $Date$
- * $Rev$
- */
-
var
// Will speed up references to window, and allows munging its name.
window = this,
+/*!
+ * jQuery JavaScript Library v@VERSION
+ * http://jquery.com/
+ *
+ * Copyright (c) 2009 John Resig
+ * Dual licensed under the MIT and GPL licenses.
+ * http://docs.jquery.com/License
+ *
+ * Date:
+ * Revision:
+ */
(function(){