bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS & Gettext


From: Bruno Haible
Subject: Re: CVS & Gettext
Date: Fri, 12 Apr 2002 21:46:56 +0200 (CEST)

Akim Demaille writes:

> Bruno> In the tests I made, running gettextize a second time didn't
> Bruno> change anything. Can you provide a testcase?
> 
> Sure!
> 
> mkdir foo
> cd foo
> cat >configure.ac <<EOF
> AC_INIT(Foo, 1.0)
> AM_INIT_AUTOMAKE([foreign])
> AM_GNU_GETTEXT
> AC_CONFIG_FILES(Makefile)
> AC_CONFIG_FILES(intl/Makefile po/Makefile.in)
> AC_OUTPUT
> EOF
> cat >Makefile.am <<EOF
> SUBDIRS = po intl
> EOF
> autoreconf -f -v -i

This is an inconsistent testcase: You declare that there is an 'intl'
subdir but it is not there.

In this case gettextize sees that there is no 'intl' directory and
proceeds to add support for it in configure.in and Makefile.am -
assuming a consistent starting situation.

> Also, another related problem is that if I use AC_CONFIG_AUXDIR, then
> config.rpath will be put there.  Fine!  But it is EXTRA_DISTed in the
> top level Makefile.am, even if it is already EXTRA_DISTed in the
> auxdir's Makefile.am.

Same thing here: If the config.rpath already exists as a file in
auxdir, then gettextize will not add it to the top level Makefile.am.
So again what you observe is a consequence of an inconsistent source
package.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]