Fix Makefile to use plain sed. Remove unicode trickery

This commit is contained in:
Anton M 2011-01-24 20:01:25 +01:00
parent 33de9c5597
commit 6d358c0cdd

View File

@ -1,4 +1,4 @@
V ?= 0 V ?= 0
SRC_DIR = src SRC_DIR = src
TEST_DIR = test TEST_DIR = test
@ -96,10 +96,8 @@ min: ${JQ_MIN}
${JQ_MIN}: ${JQ} ${JQ_MIN}: ${JQ}
@@echo "Building" ${JQ_MIN} @@echo "Building" ${JQ_MIN}
@@${COMPILER} ${JQ} > ${JQ_MIN}.tmp @@${COMPILER} ${JQ} > ${JQ_MIN}
@@echo ";" >> ${JQ_MIN}.tmp @@sed -i '$ s#^\( \*/\)\(.\+\)#\1\n\2;#' ${JQ_MIN}
@@sed 's/\*\/(/*\/ʩ(/' ${JQ_MIN}.tmp | tr "ʩ" "\n" > ${JQ_MIN}
@@rm -rf ${JQ_MIN}.tmp
clean: clean:
@@echo "Removing Distribution directory:" ${DIST_DIR} @@echo "Removing Distribution directory:" ${DIST_DIR}