Mercurial > forge
changeset 3649:67f4e104bea1 octave-forge
install additional octave files (mainly for packaging)
author | goffioul |
---|---|
date | Fri, 13 Jul 2007 14:34:43 +0000 |
parents | 41dcb13d84e3 |
children | c60d53c30eb4 |
files | admin/Windows/msvc/run_compilation.sh |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/admin/Windows/msvc/run_compilation.sh Fri Jul 13 14:26:22 2007 +0000 +++ b/admin/Windows/msvc/run_compilation.sh Fri Jul 13 14:34:43 2007 +0000 @@ -1241,9 +1241,10 @@ cp libs/octave.diff "$DOWNLOAD_DIR/octave-$octave_version" (cd "$DOWNLOAD_DIR/octave-$octave_version" && patch -p1 < octave.diff) fi + cp mkoctfile.cc.in octave-config.cc.in "$DOWNLOAD_DIR/octave-$octave_version" echo "done" fi - echo "compiling octave... " + echo -n "compiling octave... " (cd "$DOWNLOAD_DIR/octave-$octave_version" && sed -e 's/\(^.*SUBDIRS = .*\)doc examples$/\1 examples/' octMakefile.in > ttt && mv ttt octMakefile.in && @@ -1267,7 +1268,14 @@ cp doc/interpreter/HTML/*.* "$octave_prefix/doc/HTML/interpreter" && mkdir -p "$octave_prefix/doc/HTML/liboctave" && cp doc/liboctave/HTML/*.* "$octave_prefix/doc/HTML/liboctave" && - cp COPYING "$tlicdir/COPYING.GPL" + cp COPYING "$tlicdir/COPYING.GPL" && + make -f octMakefile mkoctfile.exe octave-config.exe && + rm -f "$octave_prefix/bin/mkoctfile*" "$octave_prefix/bin/octave-config*" && + cp mkoctfile.exe "$octave_prefix/bin/mkoctfile.exe" && + cp mkoctfile.exe "$octave_prefix/bin/mkoctfile-$octave_version.exe" && + cp octave-config.exe "$octave_prefix/bin/octave-config.exe" && + cp octave-config.exe "$octave_prefix/bin/octave-config-$octave_version.exe" && + cp octaverc.win "$octave_prefix/share/octave/$octave_version/m/startup/octaverc" ) >&5 2>&1 if test ! -f "$INSTALL_DIR/local/octave-$octave_version/bin/octave.exe"; then echo "failed"