On Tue, Feb 4, 2014 at 3:34 PM, Kornel Benko <kor...@lyx.org> wrote: > Am Dienstag, 4. Februar 2014 um 15:29:16, schrieb Vincent van Ravesteijn > <v...@lyx.org> > > > > > $ 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". > > > > Only once is "almost always". OK. >
Well, it depends on your workflow. If you do some translations, update the gmo file, commit the result, wait a while, fetch new commits, do some translations, update the gmo file... then it will always run for all gmo files. If your workflow is to edit po-file, generate gmo file, edit po-file, generate gmo-file, edit po-file, generate gmo-file, .. then you're right, it will not. I don't know which one is the more likely workflow. > > > And the current solution does it always. > Yes, but it doesn't hurt. If you wish you can commit your patch. I only don't understand why in your patch for each po-file two entries are added to LYX_UPDATED_GMO_FILES. Vincent