Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

CompileDirNotes

Please categorize this page.
<< | Page list | >>

A note about directory structure

This 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 directories

This 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
 
Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2006-04-11 10:50 CEST