changeset 18161:bce3a82a4a8d stable

Add $EXEEXT to octave-XXXX-${version} rules. * src/Makefile.am: Add $(EXEEXT) to octave-gui${version} and octave-cli-${version} rules.
author John Donoghue <john.donoghue@ieee.org>
date Sun, 22 Dec 2013 15:55:02 -0500
parents fd571d2a18d8
children 65e4e0569ed4
files src/Makefile.am
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.am	Sat Dec 21 16:52:12 2013 -0500
+++ b/src/Makefile.am	Sun Dec 22 15:55:02 2013 -0500
@@ -49,11 +49,11 @@
   octave \
   octave-cli
 
-OCTAVE_VERSION_LINKS = octave-cli-$(version)
+OCTAVE_VERSION_LINKS = octave-cli-$(version)$(EXEEXT)
 
 if AMCOND_BUILD_GUI
   OCTAVE_BINARIES += octave-gui
-  OCTAVE_VERSION_LINKS += octave-gui-$(version)
+  OCTAVE_VERSION_LINKS += octave-gui-$(version)$(EXEEXT)
 endif
 
 OCTAVE_CORE_LIBS = \
@@ -197,11 +197,11 @@
 ## We need these file names in the build tree because the wrapper
 ## program (main.cc) will try to invoke the versioned binaries.
 
-octave-cli-$(version): octave-cli
+octave-cli-$(version)$(EXEEXT): octave-cli$(EXEEXT)
 	rm -f $@
 	$(LN_S) $< $@
 
-octave-gui-$(version): octave-gui
+octave-gui-$(version)$(EXEEXT): octave-gui$(EXEEXT)
 	rm -f $@
 	$(LN_S) $< $@