aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorColin Snover <github.com@zetafleet.com>2011-01-17 19:04:32 -0600
committerColin Snover <github.com@zetafleet.com>2011-01-17 19:04:32 -0600
commit9ae837a167f68136cb8df70f6c40b0e54c07bc01 (patch)
tree3cfd577b6eace50cf2f8fe072e192c539e7ce602 /Makefile
parent35aeac13369c66d21f67cd7524f1cf341e3550ce (diff)
downloadjquery-9ae837a167f68136cb8df70f6c40b0e54c07bc01.tar.gz
jquery-9ae837a167f68136cb8df70f6c40b0e54c07bc01.zip
Update Makefile to use either nodejs or node, whichever exists (Debian uses nodejs).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7540a2723..56b273d68 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\