Detect node-gyp at configure time and show version in javascript_version target
This commit is contained in:
parent
9587c133c5
commit
efc5af04e0
3 changed files with 17 additions and 18 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#######################################################################
|
||||
|
||||
LANGUAGE = javascript
|
||||
NODEGYP = @NODEGYP@
|
||||
SCRIPTSUFFIX = _runme.js
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
|
@ -104,7 +105,7 @@ ifeq (node,$(JSENGINE))
|
|||
$(SWIG) -c++ -javascript $(SWIGOPT) ../$*.i;
|
||||
|
||||
nodejs_swig_and_compile = \
|
||||
node-gyp --loglevel=silent --directory $* configure build 1>>/dev/null
|
||||
$(NODEGYP) --loglevel=silent --directory $* configure build 1>>/dev/null
|
||||
|
||||
run_testcase = \
|
||||
if [ -f $(srcdir)/$*$(SCRIPTSUFFIX) ]; then \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue