From 2a5c6c1807272993d9c344a4608cbbd2a60c43c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Tue, 17 Sep 2019 11:19:44 +0200 Subject: [PATCH] Windows package: only ship the Emacs mode in scripts directory The other scripts are only useful to developpers. --- windows/build.sh | 3 ++- windows/dynare.nsi | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/windows/build.sh b/windows/build.sh index 085b057cb..b1d64e375 100755 --- a/windows/build.sh +++ b/windows/build.sh @@ -257,7 +257,8 @@ cp -p windows/deps/lib32/x13as/x13as.exe "$ZIPDIR"/matlab/modules/dseries/extern 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" -cp -pr scripts "$ZIPDIR" +mkdir -p "$ZIPDIR"/scripts +cp -p scripts/dynare.el "$ZIPDIR"/scripts mkdir "$ZIPDIR"/dynare++ cp -p dynare++/src/dynare++.exe "$ZIPDIR"/dynare++ mkdir -p "$ZIPDIR"/doc/dynare++ diff --git a/windows/dynare.nsi b/windows/dynare.nsi index 5a1574b6b..25454fa31 100644 --- a/windows/dynare.nsi +++ b/windows/dynare.nsi @@ -71,7 +71,7 @@ Section "Dynare core (preprocessor and M-files)" File /r ..\contrib\*.m SetOutPath $INSTDIR\scripts - File /r ..\scripts\* + File ..\scripts\dynare.el WriteUninstaller $INSTDIR\uninstall.exe