# HG changeset patch # User John W. Eaton # Date 1390899148 18000 # Node ID 23efd381ae4a24d5a7ade050651857055b9908c0 # Parent 7901815035d6051d043567f782abed9341e4dedc binary-dist-rules.mk: Ensure that octave, octave-config, and octave-cli are symbolic links when wrapper programs are used. diff -r 7901815035d6 -r 23efd381ae4a binary-dist-rules.mk --- a/binary-dist-rules.mk Tue Jan 28 03:46:58 2014 -0500 +++ b/binary-dist-rules.mk Tue Jan 28 03:52:28 2014 -0500 @@ -124,6 +124,8 @@ -e "s|@GNUPLOT_MAJOR_MINOR_VERSION@|\"$(shell echo $(gnuplot_VERSION) | $(SED) -e 's/\(^[0-9]+\.[0-9]+\)/\1/')\"|" \ -e "s|@PROGRAM_NAME@|\"$$f\"|" > $$f-t \ && mv $$f-t $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION); \ + rm -f $(OCTAVE_DIST_DIR)/bin/$$f; \ + ln -s $$f-$($(OCTAVE_TARGET)_VERSION) $(OCTAVE_DIST_DIR)/bin/$$f; \ done endef else