Kornel Benko <kornel.be...@berlin.de> writes: >> No, we are installing under >> $prefix/bin >> $prefix/share/lyx$version (here are the ui, bind, layout, etc >> directories) >> $prefix/man/man1 > > Hmm, that is not complete .. > there is also > $prefix/share/locale
Indeed. > $prefix/lyx (I do not see here $prefix/share/lyx) I do not know what you mean. Where are you looking? Note that the actual directories depend on the operating system in use. The relevant code is reproduced below case $lyx_use_packaging in macosx) AC_DEFINE(USE_MACOSX_PACKAGING, 1, [Define to 1 if LyX should use a MacOS X application bundle file layout]) PACKAGE=LyX${version_suffix} default_prefix="/Applications/${PACKAGE}.app" bindir='${prefix}/Contents/MacOS' libdir='${prefix}/Contents/Resources' datarootdir='${prefix}/Contents/Resources' pkgdatadir='${datadir}' mandir='${datadir}/man' lyx_install_macosx=true ;; windows) AC_DEFINE(USE_WINDOWS_PACKAGING, 1, [Define to 1 if LyX should use a Windows-style file layout]) PACKAGE=LyX${version_suffix} default_prefix="C:/Program Files/${PACKAGE}" bindir='${prefix}/bin' libdir='${prefix}/Resources' datarootdir='${prefix}/Resources' pkgdatadir='${datadir}' mandir='${prefix}/Resources/man' ;; posix) AC_DEFINE(USE_POSIX_PACKAGING, 1, [Define to 1 if LyX should use a POSIX-style file layout]) PACKAGE=lyx${version_suffix} program_suffix=$version_suffix pkgdatadir='${datadir}/${PACKAGE}' default_prefix=$ac_default_prefix ;; *) LYX_ERROR([Unknown packaging type $lyx_use_packaging]) ;; esac > I selected own installation directory for cmake. (default > "/usr/local/share/lyx$version). But then the following directory-hierarchy > started to be: > /usr/local/share/lyx2.0/bin > /usr/local/share/lyx2.0/man/ > /usr/local/share/lyx2.0/share/locale ! > /usr/local/share/lyx2.0/lyx/{bind,commands, etc} It is intended to be "/usr/local/lyx$version" from what I see. However, this does not allow to put lyx automatically in the path. This is why we did it differently. > I did not like the repetition of "share" or "lyx" in path. Moreover, files in "share" should be system-independent. Having a binary in there is not allowed. JMarc