On Fri, 2003-11-28 at 04:29, Bob Friesenhahn wrote: > It is not a problem as long as Automake provides sufficient > automatic translation capabilities. There just needs to be a standard > way to create definitions and refer to existing definitions, including > those that Automake generates for its use. > > In order to avoid confusion, Automake could adopt a GNU-make function > style syntax which indicates where translations are required. > > For example: > > $(xlate foo/bar++)_SOURCES > > would be automatically translated by Automake to > > foo_bar___SOURCES > > and substitution of existing Makefile defines (but not defines based > on autoconf substituted values) should also work so the following > should produce the same result: > > FOO_BAR=foo/bar++ > $(xlate $(FOO_BAR))_SOURCES > > This would be extremely useful since it would allow a package's > directory organization to be re-arranged without excruciating pain.
Hmm, I'd prefer to do it via the include mechanism - see my crude, but effective updated proof of concept - posted here a minute ago. Rob -- GPG key available at: <http://www.robertcollins.net/keys.txt>.
signature.asc
Description: This is a digitally signed message part