Mercurial > hg > octave-nkf
changeset 20544:07dd8e602f4e
Portably create version links in build tree
* src/module.mk (src/octave-cli-$(version)$(EXEEXT),
src/octave-gui-$(version)$(EXEEXT)): cd to target directory to create
version links.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Sun, 12 Jul 2015 00:37:52 -0400 |
parents | 23172e987766 |
children | b439ccc9a162 |
files | src/module.mk |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/module.mk +++ b/src/module.mk @@ -212,11 +212,11 @@ src/octave-cli-$(version)$(EXEEXT): src/octave-cli$(EXEEXT) $(AM_V_GEN)rm -f $@ && \ - $(LN_S) $(<F) $@ + cd $(@D) && $(LN_S) $(<F) $(@F) src/octave-gui-$(version)$(EXEEXT): src/octave-gui$(EXEEXT) $(AM_V_GEN)rm -f $@ && \ - $(LN_S) $(<F) $@ + cd $(@D) && $(LN_S) $(<F) $(@F) CLEANFILES += \ $(OCTAVE_VERSION_LINKS)