Mercurial > hg > octave-nkf > gnulib-hg
changeset 12894:e10b357eec3a
ChangeLog: add entry for "init.sh: automatically accommodate programs with the .exe suffix"
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Tue, 23 Feb 2010 01:46:36 +0100 |
parents | 1e998663ea99 |
children | 9dc379bea179 |
files | ChangeLog |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -121,6 +121,17 @@ Use shell variable manipulation, a la ${...%.exe}, rather than sed. Suggestions from Eric Blake. + init.sh: automatically accommodate programs with the .exe suffix + Automatically arrange for an invocation of "prog" to execute the + program named "prog$EXEEXT" (usually prog.exe). Thus, all invocations + may use the simpler "prog", yet still work when built on a system + that requires specifying the added suffix. + Do this by constructing a function named "prog" that invokes + "prog.exe" for each .exe file in selected directories. + * tests/init.sh (find_exe_basenames_): New function. + (create_exe_shim_functions_): New function. + (path_prepend_): Use it. + maint.mk: mark syntax-check sc_*.m rules as .PHONY * top/maint.mk ($(syntax-check-rules)): Add .PHONY, so that "make -t syntax-check" doesn't create a ton of sc_*.m files.