From: Colin Snover Date: Tue, 18 Jan 2011 01:04:32 +0000 (-0600) Subject: Update Makefile to use either nodejs or node, whichever exists (Debian uses nodejs). X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=9ae837a167f68136cb8df70f6c40b0e54c07bc01 Update Makefile to use either nodejs or node, whichever exists (Debian uses nodejs). --- diff --git a/Makefile b/Makefile index 7540a27..56b273d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ BUILD_DIR = build PREFIX = . DIST_DIR = ${PREFIX}/dist -JS_ENGINE ?= node +JS_ENGINE ?= `which nodejs node` COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe BASE_FILES = ${SRC_DIR}/core.js\