Re: [patch] simplify .pot file generation

2016-05-09 Thread Georg Baum
Kornel Benko wrote: > Ah, yes. I remember trying many things to convince 'make' to be as lazy as > possible. Changing some source does not always affect the translatable > strings. So we may also stay with your suggestion. In the end, it does not > take that long. OK, I did that for consistency

Re: [patch] simplify .pot file generation

2016-05-09 Thread Kornel Benko
Am Montag, 9. Mai 2016 um 21:59:05, schrieb Georg Baum > Kornel Benko wrote: > > > Looks good. But you could omit the creation of ${_lyxname}.cat_tmp.pot, as > > this was only needed to make the conversion. > > > > So > > COMMAND ${LYX_PYTHON_EXECUTABLE} > >

Re: [patch] simplify .pot file generation

2016-05-09 Thread Georg Baum
Kornel Benko wrote: > Looks good. But you could omit the creation of ${_lyxname}.cat_tmp.pot, as > this was only needed to make the conversion. > > So > COMMAND ${LYX_PYTHON_EXECUTABLE} > ARGS "${TOP_CMAKE_PATH}/po/cat.py" ${_py_sources} > >

Re: [patch] simplify .pot file generation

2016-05-08 Thread Kornel Benko
Am Sonntag, 8. Mai 2016 um 22:12:36, schrieb Georg Baum > Kornel, > > while investigating the .po file line end problem I noticed that the .pot > file generation with cmake does first write windows line ends and then a > converter is called to create unix line

[patch] simplify .pot file generation

2016-05-08 Thread Georg Baum
Kornel, while investigating the .po file line end problem I noticed that the .pot file generation with cmake does first write windows line ends and then a converter is called to create unix line ends. I would like to simplify this in 2.3-staging (see attached). OK? Georgdiff --git