Hi all. Posted the following a few weeks ago - wondered if anyone could explain it. I have stripped down the background info a bit - so the essense is kept.
TIA, Sam On Tue, Jun 03, 2003 at 10:50:53PM +0200, Sam Ravnborg wrote: > The following makefile exhibit the problem, also at my installation: > -------------------------- > define rule_up > echo hello > echo hello again > endef > > shut = @set -e; $(rule_$(1)) > > all: > $(call shut,up) > ---------------------------- > > Output with make 3.79.1: > ======================== > [EMAIL PROTECTED] tmp]$ make.old --version > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. > [EMAIL PROTECTED] tmp]$ make.old > hello > hello again > > Output with make 3.80: > ====================== > [EMAIL PROTECTED] tmp]$ make --version > GNU Make 3.80 > [EMAIL PROTECTED] tmp]$ make > hello > echo hello again <= Extra line only present with make 3.80 > hello again > > The culprint is the extra line: > "echo hello again" > It should not be there. _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make