Mercurial > hg > octave-lojdl
changeset 10501:cbf6eebb2a0b
Makefile.am replace EXEEXT with SCRIPTS_EXE_SUFFIX for installing
and removing scripts
author | Marco Atzeri <marco_atzeri@yahoo.it> |
---|---|
date | Thu, 08 Apr 2010 14:46:37 -0400 |
parents | 8f27f368aba2 |
children | f13bf183a003 |
files | ChangeLog Makefile.am |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-08 Marco Atzeri <marco_atzeri@yahoo.it> + + * Makefile.am (make-version-links, remove-version-links): + Use SCRIPTS_EXE_SUFFIX for scripts, not EXEEXT. + 2010-04-07 John W. Eaton <jwe@octave.org> * README.ftp, README.devel:
--- a/Makefile.am +++ b/Makefile.am @@ -191,14 +191,14 @@ make-version-links: cd $(DESTDIR)$(bindir) && \ for f in $(basename $(bin_SCRIPTS)); do \ - mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \ - $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \ + mv $$f$(SCRIPTS_EXE_SUFFIX) $$f-$(version)$(SCRIPTS_EXE_SUFFIX) && \ + $(LN_S) $$f-$(version)$(SCRIPTS_EXE_SUFFIX) $$f$(SCRIPTS_EXE_SUFFIX); \ done .PHONY: make-version-links remove-version-links: for f in $(basename $(bin_SCRIPTS)); do \ - rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \ + rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(SCRIPTS_EXE_SUFFIX); \ done .PHONY: remove-version-links