From d731cb18e957a311528e9c950e85a87afcff4eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 20 Sep 2023 10:53:10 +0200 Subject: [PATCH] Windows and macOS packages: add missing dynare_version.m file --- macOS/build.sh | 2 ++ windows/build.sh | 1 + windows/dynare.nsi | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/macOS/build.sh b/macOS/build.sh index e9d3aeeebe..a992d8f355 100755 --- a/macOS/build.sh +++ b/macOS/build.sh @@ -101,6 +101,8 @@ cp -p "$ROOTDIR"/COPYING "$PKGFILES" cp -p "$ROOTDIR"/license.txt "$PKGFILES" cp -pr "$ROOTDIR"/matlab "$PKGFILES" +cp -p "$ROOTDIR"/build-matlab/dynare_version.m "$PKGFILES"/matlab + cp -pr "$ROOTDIR"/examples "$PKGFILES" cp -p "$ROOTDIR"/build-matlab/preprocessor/src/dynare-preprocessor "$PKGFILES"/preprocessor diff --git a/windows/build.sh b/windows/build.sh index d7c367984e..dc5e1cde83 100755 --- a/windows/build.sh +++ b/windows/build.sh @@ -137,6 +137,7 @@ cp -p build-win-octave/*.mex "$ZIPDIR"/mex/octave/win64 mkdir "$ZIPDIR"/preprocessor cp -p build-win-matlab/preprocessor/src/dynare-preprocessor.exe "$ZIPDIR"/preprocessor cp -pr matlab "$ZIPDIR" +cp -p build-win-matlab/dynare_version.m "$ZIPDIR"/matlab mkdir -p "$ZIPDIR"/matlab/modules/dseries/externals/x13/windows/64 cp -p windows/deps/lib64/x13as/x13as.exe "$ZIPDIR"/matlab/modules/dseries/externals/x13/windows/64 cp -pr examples "$ZIPDIR" diff --git a/windows/dynare.nsi b/windows/dynare.nsi index 61282eb4e9..7efaeb2df1 100644 --- a/windows/dynare.nsi +++ b/windows/dynare.nsi @@ -52,7 +52,7 @@ Section "Dynare core (preprocessor and M-files)" File README.txt ..\NEWS.md ..\license.txt SetOutPath $INSTDIR\matlab - File /r ..\matlab\*.m + File /r ..\matlab\*.m ..\build-win-matlab\dynare_version.m SetOutPath $INSTDIR\preprocessor File ..\build-win-matlab\preprocessor\src\dynare-preprocessor.exe -- GitLab