Hi Akim, * Akim Demaille wrote on Mon, Nov 19, 2007 at 03:25:51PM CET: > Automake does not notice the use of *-local targets > when defined together:
Go ahead if you'd like to commit this as a currently-XFAILing test, but even better if you fix it. :-) See this comment in automake.in:file_contents_internal: # FIXME: 1. We are not robust to people defining several targets # at once, only some of them being in %dependencies. The # actions from the targets in %dependencies are usually generated # from the content of %actions, but if some targets in $targets # are not in %dependencies the ELSE branch will output # a rule for all $targets (i.e. the targets which are both # in %dependencies and $targets will have two rules). # FIXME: 2. The logic here is not able to output a # multi-paragraph rule several time (e.g. for each condition # it is defined for) because it only knows the first paragraph. # FIXME: 3. We are not robust to people defining a subset # of a previously defined "multiple-target" rule. E.g. # `foo:' after `foo bar:'. [...] | +echo "$targets:" | sed -e 's/[ :]/-local\&/g' > Makefile.am However, you need to lose the \ before the &. Cheers, Ralf