[Top][All Lists]

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

Re: [bug-gettext] update-po is too touchy

From: Bruno Haible
Subject: Re: [bug-gettext] update-po is too touchy
Date: Tue, 09 Oct 2018 09:26:26 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-137-generic; KDE/5.18.0; x86_64; ; )

Hi Akim,

> The reason is that update-po looks for ‘GNU @address@hidden to decide
> whether to include ‘GNU’ or not in the header.

You can override this decision by defining the variable PACKAGE_GNU
in the Makevars file [1].

> So I suggest that, to cope with the classical convention on
> the package names, po/Makefile.in.in now uses ‘grep -i’ instead
> of simply grep.

Makes sense. Will do. (I was thinking about 'GNU clisp' vs. 'GNU CLISP'
in this context just yesterday.)

> Of course, it would be nice too, if git seems to be present,
> to use ‘git grep’, and then fall back to grep.

Well, the entire 'grep' thing is a heuristic. Now that there is a way
to override the result of this heuristic, I won't add significantly
more complexity to it. 'git grep' could fail for a number of reasons...


[1] https://www.gnu.org/software/gettext/manual/html_node/po_002fMakevars.html

reply via email to

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