automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: branch-1-7: lib/am/yacc.am: never redirect directly to $@


From: Alexandre Duret-Lutz
Subject: Re: branch-1-7: lib/am/yacc.am: never redirect directly to $@
Date: Thu, 17 Apr 2003 22:24:00 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

>>> "Jim" == Jim Meyering <address@hidden> writes:

[...]

 Jim> * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT% aka .y.c): Don't redirect
 Jim> directly to address@hidden  Instead, redirect to address@hidden and 
rename upon success.
 Jim> Also, move the commands that update $@ so they are last.  Otherwise,
 Jim> this rule could leave the user with an up to date target (.c file)
 Jim> but with a missing or corrupted corresponding .h file.

Great! Please install.

 Jim> Index: lib/am/yacc.am
 Jim> ===================================================================
 Jim> RCS file: /cvs/automake/automake/lib/am/yacc.am,v
 Jim> retrieving revision 1.14
 Jim> diff -u -p -r1.14 yacc.am
 Jim> --- lib/am/yacc.am        8 Jun 2002 17:22:27 -0000       1.14
 Jim> +++ lib/am/yacc.am        17 Apr 2003 19:51:05 -0000
 Jim> @@ -1,5 +1,5 @@
 Jim> ## automake - create Makefile.in from Makefile.am
 Jim> -## Copyright 1998, 1999, 2001  Free Software Foundation, Inc.
 Jim> +## Copyright 1998, 1999, 2001, 2003  Free Software Foundation, Inc.

Could you add the (C) and 2002 while you are at it?

(I modified the file in 2002 but forgot to update the year
because Emacs's copyright-update hook expects the (C).)

Thanks!
-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]