[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Possible small regression in generated Makefiles from
From: |
Assaf Gordon |
Subject: |
Re: [bug-gettext] Possible small regression in generated Makefiles from gettext-0.19 with old 'make' |
Date: |
Thu, 28 May 2015 08:45:06 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
HelloDaiki,
Thanks for the explanation.
On 05/28/2015 03:26 AM, Daiki Ueno wrote:
Assaf Gordon <address@hidden> writes:
It seems that 'PO_DEPENDS_ON_POT' is not defined anywhere
Actually, that variable is set to 'yes' in po/Makevars.template
...
However, if you request a gettext infrastructure of version '0.19',
po/Makevars.template is not upgraded. That was a mistake in the 0.19
Trying to see how I ended up with version 0.19 - could it be not because of the
installed 'gettext' on my system (which was 0.19.4), but because of the version
currently in gnulib?
To demonstrate with GNU Hello:
# installed version is 0.19.4
$ gettext --version |head -n1
gettext (GNU gettext-runtime) 0.19.4
# Start with a fresh copy
$ git clone git://git.sv.gnu.org/hello.git
$ cd hello
$ ./bootstrap
# Which version is used?
$ grep ^GETTEXT po/Makefile.in.in
GETTEXT_MACRO_VERSION = 0.18
# Pull latest gnulib version
$ git submodule update --remote
$ git add gnulib
$ git ci -m 'maint: update gnulib\n'
$ ./bootstrap
# Updated to version 0.19
$ grep ^GETTEXT po/Makefile.in.in
GETTEXT_MACRO_VERSION = 0.19
# But no PO_DEPENDS?
$ grep PO_DEPENDS po/Makevars.template || echo not found
not found
If this is the reason, what's the best way to fix it?
Will running "gettextize -f" fix it, and will not be overridden next time I run
"./bootstrap" ?
Thanks,
- assaf