Update Makefile to use either nodejs or node, whichever exists (Debian uses nodejs).
This commit is contained in:
parent
35aeac1336
commit
9ae837a167
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ BUILD_DIR = build
|
||||||
PREFIX = .
|
PREFIX = .
|
||||||
DIST_DIR = ${PREFIX}/dist
|
DIST_DIR = ${PREFIX}/dist
|
||||||
|
|
||||||
JS_ENGINE ?= node
|
JS_ENGINE ?= `which nodejs node`
|
||||||
COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
|
COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
|
||||||
|
|
||||||
BASE_FILES = ${SRC_DIR}/core.js\
|
BASE_FILES = ${SRC_DIR}/core.js\
|
||||||
|
|
Loading…
Reference in a new issue