Mercurial > hg > octave-nkf
changeset 20539:110005dcf8a1
create correct version links in build tree
* src/module.mk (OCTAVE_INTERPRETER_TARGETS): Include
$(OCTAVE_VERSION_LINKS) in the list.
(src/octave-cli-$(version)$(EXEEXT),
src/octave-gui-$(version)$(EXEEXT)): Use file name only as target of
the link.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 11 Jul 2015 12:20:23 -0400 |
parents | fa9fa6ab76f0 |
children | d54f3d6c8741 |
files | src/module.mk |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/module.mk +++ b/src/module.mk @@ -27,7 +27,9 @@ src/octave-cli \ src/octave-config -OCTAVE_INTERPRETER_TARGETS += $(bin_programs) +OCTAVE_INTERPRETER_TARGETS += \ + $(bin_programs) \ + $(OCTAVE_VERSION_LINKS) noinst_HEADERS += \ src/display-available.h \ @@ -210,11 +212,11 @@ src/octave-cli-$(version)$(EXEEXT): src/octave-cli$(EXEEXT) $(AM_V_GEN)rm -f $@ && \ - $(LN_S) $< $@ + $(LN_S) $(<F) $@ src/octave-gui-$(version)$(EXEEXT): src/octave-gui$(EXEEXT) $(AM_V_GEN)rm -f $@ && \ - $(LN_S) $< $@ + $(LN_S) $(<F) $@ CLEANFILES += \ $(OCTAVE_VERSION_LINKS)