diff binary-dist-rules.mk @ 3717:70480095b6ed

Use a bat file to run octave in windows (Bug #43164) * binary-dist-rules.mk: copy octave.bat to dist folder * dist-files.mk: add octave.bat * installer-files/octave.bat: new file * makeinst-script.sh: use octave.bat instead of octave-xxxx.exe in script and registry.
author John Donoghue
date Thu, 25 Sep 2014 14:15:41 -0400
parents c8546fe79bc9
children 933b99febcf1
line wrap: on
line diff
--- a/binary-dist-rules.mk	Tue Sep 23 13:47:30 2014 -0400
+++ b/binary-dist-rules.mk	Thu Sep 25 14:15:41 2014 -0400
@@ -73,6 +73,8 @@
       cp $(TOP_DIR)/installer-files/README.html $(OCTAVE_DIST_DIR)/
       echo "  refblas..."
       cp $(OCTAVE_DIST_DIR)/bin/libblas.dll $(OCTAVE_DIST_DIR)/bin/librefblas.dll
+      echo "  octave.bat..."
+      cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)/
     endef
   else
     define copy-windows-dist-files
@@ -82,6 +84,8 @@
       cp $(TOP_DIR)/installer-files/README.html $(OCTAVE_DIST_DIR)/
       echo "  refblas..."
       cp $(OCTAVE_DIST_DIR)/bin/libblas.dll $(OCTAVE_DIST_DIR)/bin/librefblas.dll
+      echo "  octave.bat..."
+      cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)/
     endef
   endif
 endif