aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-10-23 03:25:40 -0400
committerJohn Resig <jeresig@gmail.com>2009-10-23 03:25:40 -0400
commitbcbd06b66fe49187c82b8233b1f1370980fff4d1 (patch)
treecf2c45b25c293c00e20467924a7fe5e935d34667 /Makefile
parentc7006d2fa54ee66cc0fa413aabe157a0248673e0 (diff)
downloadjquery-bcbd06b66fe49187c82b8233b1f1370980fff4d1.tar.gz
jquery-bcbd06b66fe49187c82b8233b1f1370980fff4d1.zip
Removed the revision info and fixed the date pull to work against git log instead of SVN.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 41bb827e7..bf0bfd097 100644
--- a/Makefile
+++ b/Makefile
@@ -31,8 +31,7 @@ VER = sed s/@VERSION/${JQ_VER}/
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'`
+DATE=`git log -1 | grep Date: | sed 's/.*: *//g'`
all: jquery test min
@@echo "jQuery build complete."
@@ -48,7 +47,6 @@ ${JQ}: ${MODULES}
@@mkdir -p ${DIST_DIR}
@@cat ${MODULES} | \
sed 's/Date:./&'"${DATE}"'/' | \
- sed 's/Revision:./&'"${REV}"'/' | \
${VER} > ${JQ};
@@echo ${JQ} "Built"