GNUCash translation status

Andreas Köhler andi5.py at gmx.net
Tue Jan 15 17:06:12 EST 2008


Hi,

Am Dienstag, den 15.01.2008, 16:30 +0100 schrieb Christian Stimming:
> Am Dienstag, 15. Januar 2008 16:12 schrieb Derek Atkins:
> > >> >> Hence, I'll commit po/POTFILES.in into SVN again soon.
> > >> >
> > >> > Err... I failed to find the correct Makefile rules so that
> > >> > po/POTFILES.in is updated in $(srcdir)/po instead of $(builddir)/po.
> > >> > Could someone with better Makefile-fu please try again? Derek,
> > >> > Andreas? Thanks a lot.
> > >>
> > >> I'm not sure that it SHOULD do that.  IMHO the build dir should never
> > >> update the srcdir -- if it does then distcheck could fail because the
> > >> srcdir is non-writable.
> > >
> > > But if it is in SVN, by definition it will be in srcdir.
> >
> > Yes, but if builddir == srcdir then all is well.
> 
> Yes, but with my first try, if builddir != srcdir, I ended up with two 
> (different) POTFILES.in files, which shouldn't happen. 
> 
> To make things more complicated, the processing of POTFILES.in (including the 
> decision which one to use, if there are two of them) is done by gettext's 
> makefile rules which are beyond our control, IIRC.
> 
> > > If it is in srcdir, its build rule must not be triggered by distcheck
> > > (anymore) because srcdir is non-writable at that time.
> >
> > Isn't distcheck run out of the checked-out srcdir?
> 
> I don't know exactly. As it's a makefile rule, it can only be run out of the 
> builddir because there isn't a Makefile in the srcdir. What I don't know is 
> whether "make distcheck" *only* works in a builddir == srcdir, but I didn't 
> expect it this way. Andreas?

IIRC, `make distcheck` only works when builddir==srcdir and that is the
way I run it.  Anyway, I am going to take another look at it, maybe
tomorrow.

-- andi5




More information about the gnucash-devel mailing list