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
