aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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"