X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=Makefile;h=146b5e3c2bf39cb9663069d5c3d5d6a3b8dfd663;hb=6d358c0cdd4f84884c3d776bad0f48a93908b29b;hp=56b273d681bb2b8f3c8b3c7fe7c3e36760849bed;hpb=9ae837a167f68136cb8df70f6c40b0e54c07bc01;p=jquery.git diff --git a/Makefile b/Makefile index 56b273d..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 ?= `which nodejs 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}