[EMAIL PROTECTED] (Karl Berry) wrote:
> How do people maintain the list of Gnulib source files for POTFILES.in?
> Other than simply tracking the ever-changing list of sources, is there
> any built-in support of some kind?
>
> I can imagine writing a script that greps the gnulib dir or whatever,
> but maybe it's already been worked out?

Hi Karl,

coreutils has been using the po-check rule in Makefile.maint for years.
It greps the version controlled sources for symbols like N_, _, gettext,
and compares the resulting list of files with those in po/POTFILES.in.
If there are differences, the check fails and prints the diffs.
Then, upon failure, it's up to me to update POTFILES.in manually.

Technically, it should also look for the other variants (n,d,c) of gettext.


Reply via email to