Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Pfeifer
dynare
Commits
ed5470d6
Commit
ed5470d6
authored
13 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
udpate osx packaging script
parent
661531eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
osx/createOsxFolderForPkg.sh
+84
-76
84 additions, 76 deletions
osx/createOsxFolderForPkg.sh
with
84 additions
and
76 deletions
osx/createOsxFolderForPkg.sh
+
84
−
76
View file @
ed5470d6
...
@@ -2,15 +2,13 @@
...
@@ -2,15 +2,13 @@
set
-ex
set
-ex
TOP_DIR
=
/Users/Houtan/Documents/DYNARE
TOP_DIR
=
/Users/Houtan/Documents/DYNARE
/PACKAGES
TOP_DYN_DIR
=
$TOP_DIR
/dynare
TOP_DYN_DIR
=
$TOP_DIR
/dynare
VERSION
=
4.
2.2
VERSION
=
4.
3
INSTALLDIRNAME
=
dynare-
$VERSION
-osx
INSTALLDIRNAME
=
dynare-
$VERSION
-osx
mkdir
$INSTALLDIRNAME
INSTALLDIR
=
$TOP_DIR
/
$INSTALLDIRNAME
INSTALLDIR
=
$TOP_DIR
/
$INSTALLDIRNAME
mkdir
$INSTALLDIR
PATH
=
${
PATH
}
:/Applications/Octave.app/Contents/Resources/bin:/usr/local/bin:/usr/local/sbin:/usr/texbin:/usr/local/include:/usr/local/lib:/usr/local/libexec:/usr/local/share:/usr/local/Cellar/
########################
########################
# UPDATE DYNARE SOURCE #
# UPDATE DYNARE SOURCE #
...
@@ -23,24 +21,28 @@ autoreconf -si
...
@@ -23,24 +21,28 @@ autoreconf -si
# BEGIN MAKING PACKAGE #
# BEGIN MAKING PACKAGE #
########################
########################
# create directories
# create directories
mkdir
"
$INSTALLDIR
/doc"
mkdir
"
$INSTALLDIR
/scripts"
mkdir
"
$INSTALLDIR
/doc/dynare++"
mkdir
"
$INSTALLDIR
/doc/dynare.html"
mkdir
"
$INSTALLDIR
/dynare++"
mkdir
"
$INSTALLDIR
/dynare++"
mkdir
"
$INSTALLDIR
/mex"
mkdir
-p
"
$INSTALLDIR
/doc/dynare++"
mkdir
"
$INSTALLDIR
/mex/octave"
mkdir
"
$INSTALLDIR
/doc/dynare.html"
mkdir
"
$INSTALLDIR
/mex/matlab"
mkdir
-p
"
$INSTALLDIR
/contrib/ms-sbvar/TZcode"
mkdir
"
$INSTALLDIR
/mex/matlab/osx64"
mkdir
-p
"
$INSTALLDIR
/mex/octave"
mkdir
-p
"
$INSTALLDIR
/mex/matlab/osx64"
mkdir
"
$INSTALLDIR
/mex/matlab/osx32-7.4"
mkdir
"
$INSTALLDIR
/mex/matlab/osx32-7.4"
mkdir
"
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13"
mkdir
"
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14"
# top level
# top level
cp
$TOP_DYN_DIR
/dynare.el
$INSTALLDIR
cp
$TOP_DYN_DIR
/
scripts/
dynare.el
$INSTALLDIR
/scripts
cp
$TOP_DYN_DIR
/license.txt
$INSTALLDIR
cp
$TOP_DYN_DIR
/license.txt
$INSTALLDIR
cp
$TOP_DYN_DIR
/NEWS
$INSTALLDIR
#
m
atlab
#
M
atlab
cp
-r
$TOP_DYN_DIR
/matlab
$INSTALLDIR
cp
-r
$TOP_DYN_DIR
/matlab
$INSTALLDIR
# TZ Matlab
cp
-r
$TOP_DYN_DIR
/contrib/ms-sbvar/TZcode/MatlabFiles
$INSTALLDIR
/contrib/ms-sbvar/TZcode
# examples
# examples
cp
-r
$TOP_DYN_DIR
/examples
$INSTALLDIR
cp
-r
$TOP_DYN_DIR
/examples
$INSTALLDIR
...
@@ -63,27 +65,29 @@ cp $TOP_DYN_DIR/preprocessor/dynare_m $INSTALLDIR/mat
...
@@ -63,27 +65,29 @@ cp $TOP_DYN_DIR/preprocessor/dynare_m $INSTALLDIR/mat
cp
$TOP_DYN_DIR
/mex/build/matlab/block_kalman_filter/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/block_kalman_filter/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/bytecode/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/bytecode/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/dynare_simul_/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/dynare_simul_/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/estimation/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/gensylv/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/gensylv/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/k_order_perturbation/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/k_order_perturbation/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/kalman_steady_state/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/kalman_steady_state/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/kronecker/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/kronecker/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/local_state_space_iterations/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/mjdgges/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/mjdgges/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/ms_sbvar/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/ms_sbvar/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
cp
$TOP_DYN_DIR
/mex/build/matlab/sobol/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.4
# Octave
# Octave
cp
$TOP_DYN_DIR
/mex/build/octave/block_kalman_filter/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/block_kalman_filter/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/bytecode/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/bytecode/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/dynare_simul_/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/dynare_simul_/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/estimation/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/gensylv/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/gensylv/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/k_order_perturbation/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/k_order_perturbation/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/kalman_steady_state/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/kalman_steady_state/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/kronecker/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/kronecker/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/local_state_space_iterations/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/mjdgges/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/mjdgges/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/ms_sbvar/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/ms_sbvar/
*
.mex
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/ordschur/
*
.oct
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/ordschur/
*
.oct
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/qzcomplex/
*
.oct
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/qzcomplex/
*
.oct
$INSTALLDIR
/mex/octave
cp
$TOP_DYN_DIR
/mex/build/octave/sobol/
*
.mex
$INSTALLDIR
/mex/octave
# dynare++
# dynare++
cp
$TOP_DYN_DIR
/dynare++/src/dynare++
$INSTALLDIR
/dynare++
cp
$TOP_DYN_DIR
/dynare++/src/dynare++
$INSTALLDIR
/dynare++
...
@@ -98,6 +102,7 @@ cp $TOP_DYN_DIR/doc/macroprocessor/macroprocessor.pdf $INSTALLDIR/doc
...
@@ -98,6 +102,7 @@ cp $TOP_DYN_DIR/doc/macroprocessor/macroprocessor.pdf $INSTALLDIR/doc
cp
$TOP_DYN_DIR
/doc/parallel/parallel.pdf
$INSTALLDIR
/doc
cp
$TOP_DYN_DIR
/doc/parallel/parallel.pdf
$INSTALLDIR
/doc
cp
$TOP_DYN_DIR
/doc/preprocessor/preprocessor.pdf
$INSTALLDIR
/doc
cp
$TOP_DYN_DIR
/doc/preprocessor/preprocessor.pdf
$INSTALLDIR
/doc
cp
$TOP_DYN_DIR
/doc/userguide/UserGuide.pdf
$INSTALLDIR
/doc
cp
$TOP_DYN_DIR
/doc/userguide/UserGuide.pdf
$INSTALLDIR
/doc
cp
$TOP_DYN_DIR
/doc/gsa/gsa.pdf
$INSTALLDIR
/doc
# doc (dynare++)
# doc (dynare++)
cp
$TOP_DYN_DIR
/dynare++/doc/dynare++-tutorial.pdf
$INSTALLDIR
/doc/dynare++
cp
$TOP_DYN_DIR
/dynare++/doc/dynare++-tutorial.pdf
$INSTALLDIR
/doc/dynare++
...
@@ -117,16 +122,17 @@ cd $TOP_DYN_DIR/mex/build/matlab
...
@@ -117,16 +122,17 @@ cd $TOP_DYN_DIR/mex/build/matlab
make
make
# Matlab
# Matlab
cp
$TOP_DYN_DIR
/mex/build/matlab/block_kalman_filter/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/block_kalman_filter/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/bytecode/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/bytecode/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/dynare_simul_/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/dynare_simul_/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/estimation/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/gensylv/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/gensylv/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/k_order_perturbation/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/k_order_perturbation/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/kalman_steady_state/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/kalman_steady_state/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/kronecker/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/kronecker/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/local_state_space_iterations/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/mjdgges/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/mjdgges/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/ms_sbvar/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.13
cp
$TOP_DYN_DIR
/mex/build/matlab/ms_sbvar/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
cp
$TOP_DYN_DIR
/mex/build/matlab/sobol/
*
.mexmaci
$INSTALLDIR
/mex/matlab/osx32-7.5-7.14
#####################################
#####################################
...
@@ -141,13 +147,14 @@ make
...
@@ -141,13 +147,14 @@ make
cp
$TOP_DYN_DIR
/mex/build/matlab/block_kalman_filter/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/block_kalman_filter/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/bytecode/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/bytecode/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/dynare_simul_/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/dynare_simul_/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/estimation/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/gensylv/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/gensylv/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/k_order_perturbation/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/k_order_perturbation/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/kalman_steady_state/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/kalman_steady_state/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/kronecker/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/kronecker/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/local_state_space_iterations/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/mjdgges/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/mjdgges/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/ms_sbvar/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/ms_sbvar/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
cp
$TOP_DYN_DIR
/mex/build/matlab/sobol/
*
.mexmaci64
$INSTALLDIR
/mex/matlab/osx64
# clean everything
# clean everything
cd
$TOP_DYN_DIR
cd
$TOP_DYN_DIR
...
@@ -157,8 +164,9 @@ make distclean
...
@@ -157,8 +164,9 @@ make distclean
cd
$INSTALLDIR
cd
$INSTALLDIR
find
.
-name
*
.DS_Store
-type
f
-exec
rm
{}
\;
find
.
-name
*
.DS_Store
-type
f
-exec
rm
{}
\;
# adjust permissions
# Change permissions
cd
$TOP_DIR
chmod
-R
g+w
$INSTALLDIR
chmod
-R
g+w
$INSTALLDIR
echo
"DONE :)"
echo
DONE
# NEED TO BUILD DYNARE.HTML DOCUMENTION ON DEBIAN
# AND INCLUDE IN DISTRIBUTION BY HAND
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment