This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Automake 1.6.3 issue
- From: Eric Siegerman <erics at telepres dot com>
- To: automake at gnu dot org
- Date: Tue, 10 Sep 2002 14:37:00 -0400
- Subject: Re: Automake 1.6.3 issue
- Organization: Telepresence Systems Inc.
- References: <3D73D239.A9D5A86D@pacbell.net> <mv4n0qvtqfw.fsf@nostromo.lrde.epita.fr> <3D7A3BD5.B649DE1B@pacbell.net> <mv4vg5fpmcm.fsf@nostromo.lrde.epita.fr> <3D7D435B.7B2E3F3D@pacbell.net> <mv4znuq87wi.fsf@nostromo.lrde.epita.fr> <3D7DFD73.F88E9E37@pacbell.net> <mv4admp7w5j.fsf@nostromo.lrde.epita.fr> <3D7E1CC4.4A35883F@pacbell.net> <3D7E32F3.E0A71EE8@pacbell.net>
On Tue, Sep 10, 2002 at 10:59:15AM -0700, Bruce Korb wrote:
> Another approach is to go ahead and emit the Makefile.in,
> but also emit a warning like this:
>
> cat >&2 <<_EOF_
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
> WARNING: you seem to be misusing ${variable} in ${filename}
>
> ${variable} is always used by automake, but it appears in
> conditional text. This is almost certainly a mistake.
> See: http://sources.redhat.com/ml/automake/2002-06/msg00143.html
> And see: http://www.gnu.org/software/automake/unconditional-use.html
> for more information.
>
> MEANWHILE: we are creating the output file so you won't be
> dead in the water, but you should fix your ${filename} file
> and be aware there may be unexpected results.
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> _EOF_
Gaaaa!
A simple warning message, please:
${filename}: WARNING: ${variable} appears in conditional text
The rest belongs in the manual, *not* on stderr.
>
> sleep 30
>
*Shudder*
--
| | /\
|-_|/ > Eric Siegerman, Toronto, Ont. erics@telepres.com
| | /
[...] despite reports to the contrary, it is the rare programmer who
permanently loses his sanity while coding ("permanently" being the
operative word).
- Eric E. Allen