[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian standard file locations ? When compiling new aplications ..



Hello,

the rule is to put everthing in the /usr/local directory
( PREFIX=/usr/local )
except for the sysconfdir which should be /etc

Note that you can put your policy in the file
config.site (see the documentation relative to autoconf for further information).

hth,
Jerome

Gregory Machin wrote:
when compling a new aplication gcc ./configure allows you to use the following to configure the location of relavent files, what paths should i specify for debian so that i may keep with the standards .. Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
Gregory Machin




Reply to: