[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python & Automake
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Python & Automake |
Date: |
Tue, 02 Mar 2004 10:49:50 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "Akim" == Akim Demaille <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Python & Automake,
Alexandre Duret-Lutz <=