Mercurial > mxe-octave
diff makeinst-script.sh @ 3963:9d402d735dd1
nsis-installer: add bash window menu if devel tools enabled
* binary-dist-rules.mk: if devel tools enabled, install cmdshell.bat,
fix paths that were in build tools prefix
* dist-files.mk: add cmdshell.bat
* installer-files/cmdshell.bat: new file
* makeinst-script.sh: if cmdshell.bat exists, include in installer, and add shortcut
author | John Donoghue |
---|---|
date | Tue, 09 Jun 2015 15:12:28 -0400 |
parents | 125325a2a2c4 |
children | 8803dfa40236 |
line wrap: on
line diff
--- a/makeinst-script.sh Mon Jun 08 13:49:11 2015 -0400 +++ b/makeinst-script.sh Tue Jun 09 15:12:28 2015 -0400 @@ -226,6 +226,9 @@ ; distro files EOF + if [ -f $OCTAVE_SOURCE/cmdshell.bat ]; then + echo "File '$OCTAVE_SOURCE/cmdshell.bat'" >> $OUTFILE + fi # insert the files IFS=$'\n' @@ -273,6 +276,10 @@ CreateShortCut "\$SMPROGRAMS\\Octave-$VERSION\\Octave (GUI).lnk" "\$INSTDIR\\octave.vbs" "--force-gui" "\$INSTDIR\\$ICON" 0 SW_SHOWMINIMIZED SetOutPath "\$INSTDIR" EOF + # shortcut for cmd win + if [ -f $OCTAVE_SOURCE/cmdshell.bat ]; then + echo "CreateShortCut '\$SMPROGRAMS\\Octave-$VERSION\\Bash Shell.lnk' '\$INSTDIR\\cmdshell.bat' '' '' 0" >> $OUTFILE + fi # if we have documentation files, create shortcuts if [ -d $OCTAVE_SOURCE/share/doc/octave ]; then cat >> $OUTFILE << EOF