Am Sonntag, 11. September 2011 schrieb Julien Rioux: > On 10/09/2011 1:07 PM, Kornel wrote: ... > >>> 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?
No, i was mixing install-prefix and program-suffix here. I was confused by "to move the tex2lyx binary to a tex2lyx subdir" > 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. +1 In cmake it was originally to mimic autoconf behaviour (I think), and it is not difficult to adapt something else. I am not sure if installing in autoconf does not add the suffix? I never use LYX_PACKAGE_SUFFIX, instead I use -DCMAKE_INSTALL_PREFIX=/usr/local/lyx2.1 in order to install different versions simultaneously. Kornel
signature.asc
Description: This is a digitally signed message part.