bug-automake
[Top][All Lists]
Advanced

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

Re: unesthetic build commands generated by automake


From: Alexandre Duret-Lutz
Subject: Re: unesthetic build commands generated by automake
Date: Mon, 24 Feb 2003 16:16:49 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

>>> "Bruno" == Bruno Haible <address@hidden> writes:

 Bruno> Hi,

 Bruno> The compilation commands printed to the console while
 Bruno> compiling a package with C sources are more complicated
 Bruno> than necessary. Each time I track down an error I have
 Bruno> to get simplify this

 Bruno> `test -f 'hello.c' || echo './'`hello.c

More info on this topic here:
http://sources.redhat.com/ml/automake/2002-01/msg00144.html

To summarize:
  - people agree this command seems to make no sense for suffix rules
  - it's useful only for non-suffix rules (when using per-target flags
    or subdir objects).
  - still, it was added to fix an issue related to _suffix_ rules
  - but this issue wasn't explained on the mailing list, and the
    patch submitter doesn't recall what it was

I'm all for removing this crap from suffix rules in Automake 1.8.
At least, if it ever fails (which I doubt) we can document it.
-- 
Alexandre Duret-Lutz





reply via email to

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