Skip to content

Commit

Permalink
Revert "Fix Makefile to use plain sed. Remove unicode trickery"
Browse files Browse the repository at this point in the history
This reverts commit 6d358c0.
  • Loading branch information
jeresig committed Jan 24, 2011
1 parent 6d358c0 commit 6c18a1b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
@@ -1,4 +1,4 @@
V ?= 0
V ?= 0

SRC_DIR = src
TEST_DIR = test
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 6c18a1b

Please sign in to comment.