X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=Makefile;h=146b5e3c2bf39cb9663069d5c3d5d6a3b8dfd663;hb=6d358c0cdd4f84884c3d776bad0f48a93908b29b;hp=7540a272311a6aef80f5e6f35df9ec9a07454c51;hpb=d503845d0cf45632c0d7c3542ffd1b19257a8e5e;p=jquery.git diff --git a/Makefile b/Makefile index 7540a27..146b5e3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -V ?= 0 +V ?= 0 SRC_DIR = src TEST_DIR = test @@ -7,7 +7,7 @@ BUILD_DIR = build PREFIX = . DIST_DIR = ${PREFIX}/dist -JS_ENGINE ?= node +JS_ENGINE ?= `which node nodejs` COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe BASE_FILES = ${SRC_DIR}/core.js\ @@ -97,6 +97,7 @@ min: ${JQ_MIN} ${JQ_MIN}: ${JQ} @@echo "Building" ${JQ_MIN} @@${COMPILER} ${JQ} > ${JQ_MIN} + @@sed -i '$ s#^\( \*/\)\(.\+\)#\1\n\2;#' ${JQ_MIN} clean: @@echo "Removing Distribution directory:" ${DIST_DIR}