Le 08/09/2011 10:12, Enrico Forestieri a écrit :
You should not put single quotes around srcdir. However, this is still
going to fail as I think that nobody builds lyx directly in srcdir, i.e.,
srcdir != builddir and thus the in-place tex2lyx will not be found, still.

The only solution I foresee is adding another option to configure.py
(--with-tex2lyx /path/to/tex2lyx) and letting lyx call it using this
option, as lyx knows whether it has been called in place and where this
place is.

The other option is to set the name to "tex2lyx" when nothing is found and add the tex2lyx build directory to PATH when starting LyX. I am not sure how well this plays with cmake, though.

JMarc

Reply via email to