Skip to content
Snippets Groups Projects
Verified Commit be3c4860 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

change name of mex folder in macOS to conform with Dynare minimum

parent 908523db
Branches
Tags
No related merge requests found
......@@ -71,7 +71,7 @@ make -j"$NTHREADS"
##
NAME=dynare-"$VERSION"
PKGFILES="$ROOTDIR"/macOS/pkg/"$NAME"
mkdir -p "$PKGFILES"/mex/matlab/maci64-8.7-9.3
mkdir -p "$PKGFILES"/mex/matlab/maci64-7.9-9.3
mkdir "$PKGFILES"/mex/matlab/maci64-9.4-9.7
mkdir "$PKGFILES"/mex/octave
mkdir -p "$PKGFILES"/doc/dynare++
......@@ -87,7 +87,7 @@ cp -p "$ROOTDIR"/license.txt "$PKGFILES"
cp -pr "$ROOTDIR"/matlab "$PKGFILES"
cp -pr "$ROOTDIR"/examples "$PKGFILES"
cp -L "$ROOTDIR"/mex/matlab/* "$PKGFILES"/mex/matlab/maci64-8.7-9.3
cp -L "$ROOTDIR"/mex/matlab/* "$PKGFILES"/mex/matlab/maci64-7.9-9.3
cp -p "$ROOTDIR"/scripts/dynare.el "$PKGFILES"/scripts
cp -pr "$ROOTDIR"/contrib/ms-sbvar/TZcode/MatlabFiles "$PKGFILES"/contrib/ms-sbvar/TZcode
......
......@@ -85,7 +85,7 @@ else
% Add macOS paths for Dynare Mac package
if strcmp(computer, 'MACI64')
if matlab_ver_less_than('9.4')
tmp = [dynareroot '../mex/matlab/maci64-8.7-9.3/'];
tmp = [dynareroot '../mex/matlab/maci64-7.9-9.3/'];
if exist(tmp, 'dir')
mexpath = tmp;
if modifypath
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment