Edit Links |
CompileDirNotesPlease categorize this page. << | Page list | >>A note about directory structureThis is a note about the directory structure that is used with the notes in CompileFromCVS, also see the module file such as or LyxModules?. The source code is organized as follows: /space/lyx-devel/ BRANCH_1_3_X/ <source code directories> build-qt/ - Used to build lyx with qt frontend build-xforms/ - Used to build lyx with xforms frontend The BRANCH_1_3_X-version of the Qt-frontend would be installed here: /pkg/mdhacks/pkg/lyx/ BRANCH_1_3_X/ qt/ Different versions of lyx are installed to this directory structures. Since our site expects that the configuration of a software should not in general depend on the OS, a special trick is used based on a link '@sys' that the filesystem (AFS) translates into i386_linux24 on linux and sun4x_57 on Solaris. Additionally, to avoid having duplicate lyx/share-directories, share/ and man/ are actually links, like this: /pkg/mdhacks/pkg/lyx/ devel/ BRANCH_1_3_X/ share/ man/ qt/ share -> ../share man -> ../man bin -> .bin/@sys .bin/ i386_linux24/ sun4x_57/ xforms/ share -> ../share man -> ../man bin -> .bin/@sys .bin/ i386_linux24/ sun4x_57/ Creating installation directoriesThis tcsh-code can be used to create the installation directories: mkdir -p $LYXPREFIX; mkdir -p $LYXPREFIX/.bin $LYXPREFIX/.bin/i386_linux24; cd $LYXPREFIX; ln -s .bin/@sys bin; ln -s ../share; ln -s ../man; cd $LYXPREFIX/..; mkdir -p man share |