On Tue, Feb 4, 2014 at 2:09 PM, Kornel Benko <kor...@lyx.org> wrote:

>  Am Dienstag, 4. Februar 2014 um 14:04:00, schrieb Vincent van Ravesteijn
> <v...@lyx.org>
>
> > > This is always the output:
>
> > >
>
> > > ...
>
> > >
>
> >
>
> > What is the misbehaviour then ? It needs to do the check to find out
>
> > whether the gmo needs to be recreated or not.
>
>
>
> The normal way would be to for make to check if the po-file changed. And
> only then try to
>
> call git and python.
>
>
That would mean that we would need to run when the *.po (DEPENDS) file is
newer than the *.gmo.tobeupdated (OUTPUT) files. However we should also
depend on the *.gmo files in the build dir because these need to be
regenerated. However, the *.gmo files in the build dir are regenerated for
every build, and thus are very likely to be newer and trigger our script
almost always anyway.

Vincent

Reply via email to