[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I am missing something, but don't know what
From: |
Bruno Haible |
Subject: |
Re: I am missing something, but don't know what |
Date: |
Tue, 3 Feb 2004 19:07:20 +0100 |
User-agent: |
KMail/1.5 |
Roberto Bagnara wrote:
> So here is the problem: config.status is creating only
> po/Makefile.in but not Makefile. Here is the relevant
> output:
>
> [...]
> config.status: creating src/Makefile
> config.status: creating src/version.hh
> config.status: creating tests/Makefile
> config.status: creating m4/Makefile
> config.status: creating po/Makefile.in
> config.status: creating doc/Makefile
> config.status: creating doc/user-browse.doxyconf-latex
> [...]
>
> and in fact
>
> $ ls -l po
> total 16
> -rw-rw-r-- 1 roberto roberto 12528 Feb 3 17:43 Makefile.in
Taking a look at the AM_PO_SUBDIRS macro, this could be the case if
you don't have a po/POTFILES.in file in your source po/ directory.
Its required contents is described in the po/POTFILES.in section of the
documentation.
> > A sample program with all the automake/autoconf machinery is found in the
> > examples/hello-c/ directory that GNU gettext installs.
>
> That works as expected. However it is a bit strange. Running ./autogen.sh
> materialized in the m4 directory a version of po.m4 that begins with
>
> # po.m4 serial 2 (gettext-0.13)
>
> which is strange, because gettext 0.13 is not installed on my system
That's normal. The configure.ac of this example contains the line
AM_GNU_GETTEXT_VERSION(0.13.1)
which tells autopoint (invoked by autogen.sh) that the package is prepared
for gettext 0.13.1. Since po.m4 didn't change between 0.13 and 0.13.1 it
pulled out the 0.13 version.
> and running a `find / -name po.m4' yields only 3 identical po.m4
That's normal as well. The po.m4 version 0.13 was pulled out from
$prefix/share/gettext/archive.tar.gz.
Bruno