Project: Request Tracker
Code Location: git://github.com/bestpractical/rt.gitstable
Browse
/
Download File
config.layout
##
##  config.layout -- Pre-defined Installation Path Layouts
##
##  Hints:
##  - layouts can be loaded with configure's --enable-layout=ID option
##  - when no --enable-layout option is given, the default layout is `RT'
##  - a trailing plus character (`+') on paths is replaced with a
##    `/<target>' suffix where <target> is currently hardcoded to 'rt3'.
##    (This may become a configurable parameter at some point.)
##
##  The following variables must _all_ be set:
##	prefix exec_prefix bindir sbindir sysconfdir mandir libdir
##	datadir htmldir localstatedir logfiledir masonstatedir fontdir
##	sessionstatedir customdir customhtmldir customlexdir customstaticdir
##  (This can be seen in m4/rt_layout.m4.)
##

#   Default RT3 path layout.
<Layout RT3>
  prefix:		/opt/rt4
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:		${prefix}/etc
  mandir:		${prefix}/man
  plugindir:		${prefix}/plugins
  libdir:		${prefix}/lib
  datadir:		${prefix}/share
  htmldir:		${datadir}/html
  fontdir:		${datadir}/fonts
  lexdir:		${datadir}/po
  staticdir:	${datadir}/static
  manualdir:		${prefix}/docs
  localstatedir:	${prefix}/var
  logfiledir:		${localstatedir}/log
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		${prefix}/local
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customstaticdir:	${customdir}/static
  customlibdir:		${customdir}/lib
  customplugindir:  ${customdir}/plugins
</Layout>
<Layout inplace>
  prefix:		.
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:		${prefix}/etc
  mandir:		${prefix}/man
  plugindir:		${prefix}/plugins
  libdir:		${prefix}/lib
  datadir:		${prefix}/share
  htmldir:		${datadir}/html
  lexdir:		${datadir}/po
  staticdir:	${datadir}/static
  fontdir:		${datadir}/fonts
  manualdir:		${prefix}/docs
  localstatedir:	${prefix}/var
  logfiledir:		${localstatedir}/log
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		${prefix}/local
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customstaticdir:	${customdir}/static
  customlibdir:		${customdir}/lib
  customplugindir:  ${customdir}/plugins
</Layout>

<Layout FHS>
  prefix:		/usr/local
  exec_prefix:		${prefix}
  bindir:		${prefix}/bin
  sbindir:		${prefix}/sbin
  sysconfdir:		/etc+
  datadir:		${prefix}/share
# FIXME: missing support for lib64
  libdir:		${prefix}/lib
  mandir:		${datadir}/man
# FIXME: no such directory in FHS; shouldn't go to somewhere in "${datadir}/rt/"?
  plugindir:		${datadir}/plugins
  htmldir:		${datadir}/html
  lexdir:		${datadir}/po
  staticdir:	${datadir}/static
  fontdir:		${datadir}/fonts
  manualdir:		${datadir}/doc
  localstatedir:	/var
  logfiledir:		${localstatedir}/log
# XXX: "/var/cache/mason/*"?
  masonstatedir:	${localstatedir}/cache/mason_data
  sessionstatedir:	${localstatedir}/cache/session_data
  customdir:		${prefix}/local
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customstaticdir:	${customdir}/static
  customlibdir:		${customdir}/lib
  customplugindir:  ${customdir}/plugins
</Layout>

<Layout FreeBSD>
  prefix:		/usr/local
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:		${prefix}/etc+
  mandir:		${prefix}/man
  plugindir:		${prefix}/plugins
  libdir:		${prefix}/lib+
  datadir:		${prefix}/share+
  htmldir:		${datadir}/html
  lexdir:		${datadir}/po
  staticdir:	${datadir}/static
  fontdir:		${datadir}/fonts
  manualdir:		${prefix}/share/doc+
  logfiledir:		/var/log
  localstatedir:	/var/run+
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		${prefix}/share+
  custometcdir:		${customdir}/local/etc
  customhtmldir:	${customdir}/local/html
  customlexdir:		${customdir}/local/po
  customstaticdir:	${customdir}/static
  customlibdir:		${customdir}/local/lib
  customplugindir:  ${customdir}/local/plugins
</Layout>

#   RH path layout.
<Layout RH>
  prefix:		/usr
  exec_prefix:		${prefix}
  bindir:		${exec_prefix}/bin
  sbindir:		${exec_prefix}/sbin
  sysconfdir:           /etc/rt3
  mandir:		${prefix}/man
  libdir:               ${prefix}/lib/rt3
  datadir:              /var/rt3
  htmldir:		${datadir}/html
  fontdir:		${datadir}/fonts
  lexdir:		${datadir}/po
  staticdir:	${datadir}/static
  manualdir:		${datadir}/doc
  plugindir:		${datadir}/plugins
  localstatedir:	/var
  logfiledir:           ${localstatedir}/log/rt3
  masonstatedir:        ${localstatedir}/rt3/mason_data
  sessionstatedir:      ${localstatedir}/rt3/session_data
  customdir:            ${prefix}/local/rt3
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customstaticdir:	${customdir}/static
  customlibdir:		${customdir}/lib
  customplugindir:  ${customdir}/plugins
</Layout>


<Layout relative>
  prefix:		/opt/rt4
  exec_prefix:		${prefix}
  bindir:		bin
  sbindir:		sbin
  sysconfdir:	etc
  mandir:		man
  plugindir:		plugins
  libdir:		lib
  datadir:		share
  htmldir:		${datadir}/html
  fontdir:		${datadir}/fonts
  lexdir:		${datadir}/po
  staticdir:	${datadir}/static
  manualdir:	docs
  localstatedir:	var
  logfiledir:		${localstatedir}/log
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		local
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customstaticdir:	${customdir}/static
  customlibdir:		${customdir}/lib
  customplugindir:  ${customdir}/plugins
</Layout>
<Layout vessel>
  prefix:		/opt/rt4
  exec_prefix:		${prefix}
  bindir:		bin
  sbindir:		sbin
  sysconfdir:	etc/rt/
  mandir:		man
  libdir:		lib/rt
  datadir:		share/rt
  plugindir:	${datadir}/plugins
  htmldir:		${datadir}/html
  fontdir:		${datadir}/fonts
  lexdir:		${datadir}/po
  staticdir:	${datadir}/static
  manualdir:	docs/rt
  localstatedir:	var/rt/
  logfiledir:		${localstatedir}/log
  masonstatedir:	${localstatedir}/mason_data
  sessionstatedir:	${localstatedir}/session_data
  customdir:		local/rt/
  custometcdir:		${customdir}/etc
  customhtmldir:	${customdir}/html
  customlexdir:		${customdir}/po
  customstaticdir:	${customdir}/static
  customlibdir:		${customdir}/lib
  customplugindir:  ${customdir}/plugins
</Layout>