bug-automake
[Top][All Lists]
Advanced

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

Re: even `if FALSE' *_SOURCES should be used for TAGS


From: Stefano Lattarini
Subject: Re: even `if FALSE' *_SOURCES should be used for TAGS
Date: Tue, 12 Oct 2010 17:51:58 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

Hi Jan, thanks for the report.

On Monday 11 October 2010, Jan Kratochvil wrote:
> Hi,
> 
> it came on now on the binutils mailing list:
> 
> `make tags' will not index sources which are listed in *_SOURCES += ... in
> unsatisfied AM_CONDITIONAL blocks.  IMO they should be.
I agree with you on this.  By the way, "make dist" already works OOTB in this
situation, so tags (and ctags, and ID, and cscope) should too.
> Sure one can use some EXTRA_*_SOURCES out of the `if' block but this
> delocalizes+duplicates the information making error prone for future
> modifications.
Right.
 
> OTOH AM_CONDITIONAL can be used for example if an optional sources part is
> / is not bundled, in such case the current automake behavior is better.
> 
> Posting here for a consideration as asked about by Ralf Wildenhues.
Ralf, do you agree we should implement the behaviour requested by Jan?
If you do, I can give it a try (it might be a few days before I can come
up with a patch, though).

Regards,
  Stefano



reply via email to

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