[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Generating gettext's .pot file

From: Greg Stein <gstein_at_lyra.org>
Date: 2004-04-05 20:55:17 CEST

On Sun, Apr 04, 2004 at 01:24:09AM +0200, Sander Striker wrote:
> > From: Nicolas Lichtmaier [mailto:nick@reloco.com.ar]
> > Sent: Saturday, April 03, 2004 8:54 PM
> > Ben Reser wrote:
> > >Further, not all the *.c files in the source tree should be searched by
> > >this. The bindings for example have automatically generated .c files.
> > >I'm not sure if we have any _() or N_() calls. But we really shouldn't
> > >have gettext messing around in there.
> >
> > Normal gettextized projects have a po/POTFILES.in file which list every
> > file which has to be scanned.
> I prefer to be lazy and have the build system take care of this for
> us. I totally love the way gen-make takes care of generating our
> makefiles, vc workspaces, etc. Hand maintaing is too error-prone IMO,
> and unnessecary.

Yup. We could have gen-make produce a list of the .c files that go into
Subversion (excluding generated .c files). It might not be too hard, even.
I know that it is a simple query from the dependency graph, but I think
that would pull in the bindings' .c files. So it might need a bit more
thought... mebbe there is a way to ask for all .c files which *aren't*
generated. Might require a bit of judo, but I bet the graph can answer
that question.

(then we dump that into POTFILES.in)


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 5 20:55:29 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.