Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Makefile to use plain sed. Remove unicode trickery

  • Loading branch information...
commit 6d358c0cdd4f84884c3d776bad0f48a93908b29b 1 parent 33de9c5
@jitter jitter authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 Makefile
View
8 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}
Please sign in to comment.
Something went wrong with that request. Please try again.