Am Dienstag, 4. Februar 2014 um 13:09:35, schrieb Kornel Benko <kor...@lyx.org> > > Well, I would like to understand the problem before committing a fix. The > > only way I could reproduce is to go back a few commits, and then I see the > > files deleted. Then, updating to the latest master introduces the same > > problem. > > You are right. Cannot reproduce with recent changes. > But the fix would also correct a .. misbehaviour? > > edit some po-file > use update-gmo > -> new gmo in source produced. OK > use update-gmo > -> again! new gmo in source produced. Not so OK > > The > OUTPUT "${LYX_DEST_PO}/${_gmo}" > does not look OK, because the python may 'exit 0' and still not produce the > gmo. > OTOH > "${CMAKE_CURRENT_BINARY_DIR}/${_gmo}.tobeupdated" > will always be produced.
Forget it. The misbehaviour is that for all other languages the check is done again. This is *always* the output: ... [ 20%] Generating /usr/src/lyx/lyx-git/po/sv.gmo cd /usr/src/lyx/lyx-git/po && /usr/bin/git status --porcelain sv.po > /usr/BUILD/BuildLyxGit/po/sv.gmo.tobeupdated cd /usr/src/lyx/lyx-git/po && /usr/bin/python2 /usr/src/lyx/lyx-git/development/cmake/po/update-gmo.py /usr/BUILD/BuildLyxGit/po/sv.gmo.tobeupdated /usr/BUILD/BuildLyxGit/po/sv.gmo /usr/src/lyx/lyx-git/po/sv.gmo /usr/bin/cmake -E cmake_progress_report /usr/BUILD/BuildLyxGit/CMakeFiles [ 20%] Generating /usr/src/lyx/lyx-git/po/tr.gmo cd /usr/src/lyx/lyx-git/po && /usr/bin/git status --porcelain tr.po > /usr/BUILD/BuildLyxGit/po/tr.gmo.tobeupdated cd /usr/src/lyx/lyx-git/po && /usr/bin/python2 /usr/src/lyx/lyx-git/development/cmake/po/update-gmo.py /usr/BUILD/BuildLyxGit/po/tr.gmo.tobeupdated /usr/BUILD/BuildLyxGit/po/tr.gmo /usr/src/lyx/lyx-git/po/tr.gmo /usr/bin/cmake -E cmake_progress_report /usr/BUILD/BuildLyxGit/CMakeFiles 78 [ 30%] Generating /usr/src/lyx/lyx-git/po/uk.gmo cd /usr/src/lyx/lyx-git/po && /usr/bin/git status --porcelain uk.po > /usr/BUILD/BuildLyxGit/po/uk.gmo.tobeupdated cd /usr/src/lyx/lyx-git/po && /usr/bin/python2 /usr/src/lyx/lyx-git/development/cmake/po/update-gmo.py /usr/BUILD/BuildLyxGit/po/uk.gmo.tobeupdated /usr/BUILD/BuildLyxGit/po/uk.gmo /usr/src/lyx/lyx-git/po/uk.gmo /usr/bin/cmake -E cmake_progress_report /usr/BUILD/BuildLyxGit/CMakeFiles [ 30%] Generating /usr/src/lyx/lyx-git/po/zh_CN.gmo cd /usr/src/lyx/lyx-git/po && /usr/bin/git status --porcelain zh_CN.po > /usr/BUILD/BuildLyxGit/po/zh_CN.gmo.tobeupdated ... > > Do you have any clue what was done wrong ? The update-po target looks a bit > > the same, but doesn't show the problem. > > No. > > > Vincent Kornel
signature.asc
Description: This is a digitally signed message part.