On Tue, Feb 4, 2014 at 3:13 PM, Kornel Benko <kor...@lyx.org> wrote: > Am Dienstag, 4. Februar 2014 um 15:07:09, schrieb Vincent van Ravesteijn > <v...@lyx.org> > > > > > > > > > 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. > > > > > > > > > > > > > > > > Please *try* this to verify. > > > > > > > > > > > > > > > > > > As you wish: > > > > > > $ touch src/Buffer.cpp > > > $ make update-gmo > > > > > > Result: all gmo files are processed. > > > > And on next call? > > > > > Vincent > > > > Kornel >
No, not on the next call. That's why I wrote "almost always". Vincent