Hi Akim, * Akim Demaille wrote on Mon, Nov 19, 2007 at 03:09:00PM CET: > > I see that the documentation of Automake suggests: > > all-local: > cd subdir && $(MAKE) $(AM_MAKEFLAGS) all > check-local: > cd subdir && $(MAKE) $(AM_MAKEFLAGS) test [...] > Is there anything to worry about using $(@:-local=) and so > forth? The implementation of RECURSIVE_TARGET would be > simplified too.
Well, except for the fact that automake doesn't grok the resulting list of targets (see other mail), I don't see any problems with it. All make implementations I know of support $(@:-local=). Even IRIX make, which is the only one I know that doesn't support recursive substitution like: foo_FLAGS = -bar foo: echo $([EMAIL PROTECTED]) But fixing the manual should come after removing the automake limitation. Cheers, Ralf