diff options
author | jeresig <jeresig@gmail.com> | 2011-01-24 14:14:55 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2011-01-24 14:14:55 -0500 |
commit | 6c18a1becb59f1b2e64a4920967dc5cecdb296f6 (patch) | |
tree | c2336385e25bab93bd9b32a60463b9b47bf56731 /Makefile | |
parent | 6d358c0cdd4f84884c3d776bad0f48a93908b29b (diff) | |
download | jquery-6c18a1becb59f1b2e64a4920967dc5cecdb296f6.tar.gz jquery-6c18a1becb59f1b2e64a4920967dc5cecdb296f6.zip |
Revert "Fix Makefile to use plain sed. Remove unicode trickery"
This reverts commit 6d358c0cdd4f84884c3d776bad0f48a93908b29b.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -V ?= 0 +V ?= 0 SRC_DIR = src TEST_DIR = test @@ -96,8 +96,10 @@ min: ${JQ_MIN} ${JQ_MIN}: ${JQ} @@echo "Building" ${JQ_MIN} - @@${COMPILER} ${JQ} > ${JQ_MIN} - @@sed -i '$ s#^\( \*/\)\(.\+\)#\1\n\2;#' ${JQ_MIN} + @@${COMPILER} ${JQ} > ${JQ_MIN}.tmp + @@echo ";" >> ${JQ_MIN}.tmp + @@sed 's/\*\/(/*\/ʩ(/' ${JQ_MIN}.tmp | tr "ʩ" "\n" > ${JQ_MIN} + @@rm -rf ${JQ_MIN}.tmp clean: @@echo "Removing Distribution directory:" ${DIST_DIR} |