On 10/09/2011 1:07 PM, Kornel wrote:
There are often changes in autoconf, but no one (but Peter and me) cares for
cmake.
Sometimes even we are able to miss a change.
In cmake LYX_PACKAGE_SUFFIX is used as a boolean, not a string.
Thanks, that explains the suffix. It's not overly important what it is,
as long as it is different from the installed lyx from the os.
I'm not sure whether I prefer cmake to move the tex2lyx
binary to a tex2lyx subdir, or autoconf to move all binaries to the same
bin dir. I do feel that version suffixes should be used only when
installing. Again, maybe I did a wrong configuration of cmake.
I would prefer that too, but it may be contrary to cmake philosophy.
Build-dir is not the same as Install-dir for tex2lyx
I only did `make`, not `make install`. So I think this must be the build
dir. Are you saying this is the install dir, hence the suffixes?
I have the binaries in
$LYX_SVN_ROOT/build-cmake/bin/lyx2.1
$LYX_SVN_ROOT/build-cmake/bin/tex2lyx2.1
Compare
$LYX_SVN_ROOT/build-autoconf/src/lyx
$LYX_SVN_ROOT/build-autoconf/src/tex2lyx/tex2lyx
I don't really feel like telling you guys to change your build systems.
Personally both of them feel wrong: I would say binaries would go in bin
dir and have no suffixes. In any case I could figure out a patch for
tex2lyx detection with the status quo in mind.
--
Julien