diff options
author | John Resig <jeresig@gmail.com> | 2006-10-10 00:23:18 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2006-10-10 00:23:18 +0000 |
commit | 766c3765bd30e6a643eff99da0f1c293aa2897bd (patch) | |
tree | 63f945c0f62a0a99b6a21ab9b896a46fd961ac08 /Makefile | |
parent | 6cb2e8ee8b801381fba9fcb14078f87de2517926 (diff) | |
download | jquery-766c3765bd30e6a643eff99da0f1c293aa2897bd.tar.gz jquery-766c3765bd30e6a643eff99da0f1c293aa2897bd.zip |
Now have accurate version information built into jquery.js - will build it into the docs and test suite next.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -17,6 +17,9 @@ JQ = ${DIST_DIR}/jquery.js JQ_LITE = ${DIST_DIR}/jquery.lite.js JQ_PACK = ${DIST_DIR}/jquery.pack.js +JQ_VER = `cat version.txt` +VER = sed s/@VERSION/${JQ_VER}/ + JAR = java -jar ${BUILD_DIR}/js.jar all: jquery lite pack docs test @@ -31,7 +34,7 @@ ${JQ}: ${MODULES} @@echo "Building" ${JQ} @@mkdir -p ${DIST_DIR} - @@cat ${MODULES} > ${JQ}; + @@cat ${MODULES} | ${VER} > ${JQ}; @@echo ${JQ} "Built" @@echo |