Error making pot file.
Neil Williams
linux at codehelp.co.uk
Wed Jan 4 15:01:13 EST 2006
On Wednesday 04 January 2006 5:30 pm, Christian Stimming wrote:
> > I thought there was some reason, I just couldn't remember. Instead of
> > reverting, I'll commit a stub po/POTFILES.in explaining why the file
> > is in SVN. Then maybe we can set an ignore property for it.
No. That's what my top level Makefile.am changes arranged - the
make-gnucash-potfiles script is auto-generated by make, the same target also
RUNS make-gnucash-potfiles and generates po/POTFILES.in
po/POTFILES.in IS under our control - it was never under direct control from
po/
The po/ Makefile symlink only uses whatever WE provide for POTFILES.in to
generate POTFILES.
> Err, what does a stub help here?
It does not.
> The point is that people (and maybe
> translators) run "make" and expect that the gnucash.pot will be
> correctly built.
It is. Now. Please try deleting the file and run make.
> This is only achieved if there is a ready-to-use
> po/POTFILES.in in SVN, IMHO.
Wrong. The adapted Makefile.am allows make (the simple, plain, no special
target, make) to build both make-gnucash-potfiles AND po/POTFILES.in
> This is what gettextize conventions are, so
> we have to stick to that. I don't understand how else you try to achieve
> this.
>
Christian, please delete po/POTFILES.in and make-gnucash-potfiles. Then run
make.
You'll see them re-appear (providing you are up to date).
PLEASE can we remove the po/POTFILES.in stub - it is a travesty.
It cannot be ignored by SVN, it trips svn status EVERY time make is run. IT'll
get accidentally committed dozens of times.
Having any po/POTFILES.in in SVN is a mistake.
It's OUR file to build and build it we (now) do.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060104/49c3d707/attachment.bin
More information about the gnucash-devel
mailing list