bug-gnulib
[Top][All Lists]
Advanced

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

Re: tracking source files for POTFILES.in?


From: Jim Meyering
Subject: Re: tracking source files for POTFILES.in?
Date: Thu, 02 Nov 2006 10:53:39 +0100

address@hidden (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

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