aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton M <obhvsbypqghgc@gmail.com>2011-01-24 20:01:25 +0100
committerAnton M <obhvsbypqghgc@gmail.com>2011-01-24 20:01:25 +0100
commit6d358c0cdd4f84884c3d776bad0f48a93908b29b (patch)
tree63785d5831eb6150f4f66cc5bf5fbec7ce9c20ba
parent33de9c559789d7f4565c9c57a7152f3ca2721b65 (diff)
downloadjquery-6d358c0cdd4f84884c3d776bad0f48a93908b29b.tar.gz
jquery-6d358c0cdd4f84884c3d776bad0f48a93908b29b.zip
Fix Makefile to use plain sed. Remove unicode trickery
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c708db5a1..146b5e3c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-V ?= 0
+V ?= 0
SRC_DIR = src
TEST_DIR = test
@@ -96,10 +96,8 @@ min: ${JQ_MIN}
${JQ_MIN}: ${JQ}
@@echo "Building" ${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
+ @@${COMPILER} ${JQ} > ${JQ_MIN}
+ @@sed -i '$ s#^\( \*/\)\(.\+\)#\1\n\2;#' ${JQ_MIN}
clean:
@@echo "Removing Distribution directory:" ${DIST_DIR}