>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes:

[...]

 Akim> import string, sys
 Akim> sys.path.insert(0, '@prefix@/share/@PACKAGE@')

 Akim> package = '@PACKAGE@'
 Akim> version = '@VERSION@'
 Akim> prefix = '@prefix@'
 Akim> datadir = string.replace('@datadir@', '${prefix}', prefix)
 Akim> pkgdatadir = string.replace('@pkgdatadir@', '${datadir}', datadir)

 Akim> import libit
 Akim> apply(libit.main, tuple(sys.argv[1:]))
 Akim> ----------------------------------------

 Akim> Aside from the needed update for the Makefile.am
 Akim> machinery, is the top level generation and redirection
 Akim> the recommended way?

I'd rather generate the script from Makefile rather than from
config.status, as done for bin/autoconf, bin/autom4te, etc.
Replacing just ${prefix} may not be always enough.  Also I'm not
sure @pkgdatadir@ is available as an AC_SUBST.

I don't know what's best for the rest.
-- 
Alexandre Duret-Lutz



Reply via email to