summaryrefslogtreecommitdiff
path: root/Examples/test-suite/matlab/Makefile.in
diff options
context:
space:
mode:
authorKris Thielemans <k.thielemans@ucl.ac.uk>2015-09-05 21:53:06 +0100
committerJoel Andersson <j.a.e.andersson@gmail.com>2015-09-06 12:32:05 +0200
commitbcb0b3f39ec366644f5946594bb0bae2bfc05afc (patch)
treef07d6ad50ca7bd91d93c775d0b9b93aaa8618eaa /Examples/test-suite/matlab/Makefile.in
parent512386a3bc303f2c674bee46843567d49978fd2e (diff)
downloadswig-bcb0b3f39ec366644f5946594bb0bae2bfc05afc.tar.gz
[MATLAB] changes to Makefile.in to cope with spaces in MATLAB directory
Diffstat (limited to 'Examples/test-suite/matlab/Makefile.in')
-rw-r--r--Examples/test-suite/matlab/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Examples/test-suite/matlab/Makefile.in b/Examples/test-suite/matlab/Makefile.in
index feb187161..96aaa72d3 100644
--- a/Examples/test-suite/matlab/Makefile.in
+++ b/Examples/test-suite/matlab/Makefile.in
@@ -3,7 +3,8 @@
#######################################################################
LANGUAGE = matlab
-MATLAB = @MATLAB@ -nodisplay -nosplash -nojvm
+MATLAB = @MATLAB@
+MATLABOPTS = -nodisplay -nosplash -nojvm
SCRIPTSUFFIX = _runme
srcdir = @srcdir@
@@ -105,8 +106,8 @@ run_testcase = \
exit(1); \
end; \
exit(0)" ; \
- env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH MATLABPATH=$(srcdir):$(SCRIPTDIR):$$MATLAB_PATH \
- $(RUNTOOL) $(MATLAB) -r "$$RUNSCRIPT" $(RUNPIPE); \
+ env LD_LIBRARY_PATH=".:$$LD_LIBRARY_PATH" MATLABPATH="$(srcdir):$(SCRIPTDIR):$$MATLAB_PATH" \
+ $(RUNTOOL) "$(MATLAB)" $(MATLABOPTS) -r "$$RUNSCRIPT" $(RUNPIPE); \
if [ $$? -ne 0 ] ; then \
echo " $* failed" $(RUNPIPE) ; \
else \