From b7b6d3d99a751f99638ed8e14b62c1cf697f0664 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 23 Feb 2010 01:46:36 +0100 Subject: [PATCH] ChangeLog: add entry for "init.sh: automatically accommodate programs with the .exe suffix" --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 892c85e1df..947f36758f 100644 --- 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. -- 2.30.2