Optimize "Customer has a referring customer" condition, RT#74452
[freeside.git] / rt / config.layout.in
1 ##
2 ##  config.layout -- Pre-defined Installation Path Layouts
3 ##
4 ##  Hints:
5 ##  - layouts can be loaded with configure's --enable-layout=ID option
6 ##  - when no --enable-layout option is given, the default layout is `RT'
7 ##  - a trailing plus character (`+') on paths is replaced with a
8 ##    `/<target>' suffix where <target> is currently hardcoded to 'rt3'.
9 ##    (This may become a configurable parameter at some point.)
10 ##
11 ##  The following variables must _all_ be set:
12 ##      prefix exec_prefix bindir sbindir sysconfdir mandir libdir
13 ##      datadir htmldir localstatedir logfiledir masonstatedir fontdir
14 ##     sessionstatedir customdir customhtmldir customlexdir customstaticdir
15 ##  (This can be seen in m4/rt_layout.m4.)
16 ##
17
18 #   Default RT3 path layout.
19 <Layout RT3>
20   prefix:               /opt/rt4
21   exec_prefix:          ${prefix}
22   bindir:               ${exec_prefix}/bin
23   sbindir:              ${exec_prefix}/sbin
24   sysconfdir:           ${prefix}/etc
25   mandir:               ${prefix}/man
26   plugindir:            ${prefix}/plugins
27   libdir:               ${prefix}/lib
28   datadir:              ${prefix}/share
29   htmldir:              ${datadir}/html
30   fontdir:              ${datadir}/fonts
31   lexdir:               ${datadir}/po
32   staticdir:            ${datadir}/static
33   manualdir:            ${prefix}/docs
34   localstatedir:        ${prefix}/var
35   logfiledir:           ${localstatedir}/log
36   masonstatedir:        ${localstatedir}/mason_data
37   sessionstatedir:      ${localstatedir}/session_data
38   customdir:            ${prefix}/local
39   custometcdir:         ${customdir}/etc
40   customhtmldir:        ${customdir}/html
41   customlexdir:         ${customdir}/po
42   customstaticdir:      ${customdir}/static
43   customlibdir:         ${customdir}/lib
44   customplugindir:  ${customdir}/plugins
45 </Layout>
46 <Layout inplace>
47   prefix:               .
48   exec_prefix:          ${prefix}
49   bindir:               ${exec_prefix}/bin
50   sbindir:              ${exec_prefix}/sbin
51   sysconfdir:           ${prefix}/etc
52   mandir:               ${prefix}/man
53   plugindir:            ${prefix}/plugins
54   libdir:               ${prefix}/lib
55   datadir:              ${prefix}/share
56   htmldir:              ${datadir}/html
57   lexdir:               ${datadir}/po
58   staticdir:            ${datadir}/static
59   fontdir:              ${datadir}/fonts
60   manualdir:            ${prefix}/docs
61   localstatedir:        ${prefix}/var
62   logfiledir:           ${localstatedir}/log
63   masonstatedir:        ${localstatedir}/mason_data
64   sessionstatedir:      ${localstatedir}/session_data
65   customdir:            ${prefix}/local
66   custometcdir:         ${customdir}/etc
67   customhtmldir:        ${customdir}/html
68   customlexdir:         ${customdir}/po
69   customstaticdir:      ${customdir}/static
70   customlibdir:         ${customdir}/lib
71   customplugindir:  ${customdir}/plugins
72 </Layout>
73
74 <Layout FHS>
75   prefix:               /usr/local
76   exec_prefix:          ${prefix}
77   bindir:               ${prefix}/bin
78   sbindir:              ${prefix}/sbin
79   sysconfdir:           /etc+
80   datadir:              ${prefix}/share
81 # FIXME: missing support for lib64
82   libdir:               ${prefix}/lib
83   mandir:               ${datadir}/man
84 # FIXME: no such directory in FHS; shouldn't go to somewhere in "${datadir}/rt/"?
85   plugindir:            ${datadir}/plugins
86   htmldir:              ${datadir}/html
87   lexdir:               ${datadir}/po
88   staticdir:            ${datadir}/static
89   fontdir:              ${datadir}/fonts
90   manualdir:            ${datadir}/doc
91   localstatedir:        /var
92   logfiledir:           ${localstatedir}/log
93 # XXX: "/var/cache/mason/*"?
94   masonstatedir:        ${localstatedir}/cache/mason_data
95   sessionstatedir:      ${localstatedir}/cache/session_data
96   customdir:            ${prefix}/local
97   custometcdir:         ${customdir}/etc
98   customhtmldir:        ${customdir}/html
99   customlexdir:         ${customdir}/po
100   customstaticdir:      ${customdir}/static
101   customlibdir:         ${customdir}/lib
102   customplugindir:  ${customdir}/plugins
103 </Layout>
104
105 <Layout FreeBSD>
106   prefix:               /usr/local
107   exec_prefix:          ${prefix}
108   bindir:               ${exec_prefix}/bin
109   sbindir:              ${exec_prefix}/sbin
110   sysconfdir:           ${prefix}/etc+
111   mandir:               ${prefix}/man
112   plugindir:            ${prefix}/plugins
113   libdir:               ${prefix}/lib+
114   datadir:              ${prefix}/share+
115   htmldir:              ${datadir}/html
116   lexdir:               ${datadir}/po
117   staticdir:            ${datadir}/static
118   fontdir:              ${datadir}/fonts
119   manualdir:            ${prefix}/share/doc+
120   logfiledir:           /var/log
121   localstatedir:        /var/run+
122   masonstatedir:        ${localstatedir}/mason_data
123   sessionstatedir:      ${localstatedir}/session_data
124   customdir:            ${prefix}/share+
125   custometcdir:         ${customdir}/local/etc
126   customhtmldir:        ${customdir}/local/html
127   customlexdir:         ${customdir}/local/po
128   customstaticdir:      ${customdir}/static
129   customlibdir:         ${customdir}/local/lib
130   customplugindir:  ${customdir}/local/plugins
131 </Layout>
132
133 #   RH path layout.
134 <Layout RH>
135   prefix:               /usr
136   exec_prefix:          ${prefix}
137   bindir:               ${exec_prefix}/bin
138   sbindir:              ${exec_prefix}/sbin
139   sysconfdir:           /etc/rt3
140   mandir:               ${prefix}/man
141   libdir:               ${prefix}/lib/rt3
142   datadir:              /var/rt3
143   htmldir:              ${datadir}/html
144   fontdir:              ${datadir}/fonts
145   lexdir:               ${datadir}/po
146   staticdir:            ${datadir}/static
147   manualdir:            ${datadir}/doc
148   plugindir:            ${datadir}/plugins
149   localstatedir:        /var
150   logfiledir:           ${localstatedir}/log/rt3
151   masonstatedir:        ${localstatedir}/rt3/mason_data
152   sessionstatedir:      ${localstatedir}/rt3/session_data
153   customdir:            ${prefix}/local/rt3
154   custometcdir:         ${customdir}/etc
155   customhtmldir:        ${customdir}/html
156   customlexdir:         ${customdir}/po
157   customstaticdir:      ${customdir}/static
158   customlibdir:         ${customdir}/lib
159   customplugindir:  ${customdir}/plugins
160 </Layout>
161
162
163 <Layout relative>
164   prefix:               /opt/rt4
165   exec_prefix:          ${prefix}
166   bindir:               bin
167   sbindir:              sbin
168   sysconfdir:   etc
169   mandir:               man
170   plugindir:            plugins
171   libdir:               lib
172   datadir:              share
173   htmldir:              ${datadir}/html
174   fontdir:              ${datadir}/fonts
175   lexdir:               ${datadir}/po
176   staticdir:            ${datadir}/static
177   manualdir:    docs
178   localstatedir:        var
179   logfiledir:           ${localstatedir}/log
180   masonstatedir:        ${localstatedir}/mason_data
181   sessionstatedir:      ${localstatedir}/session_data
182   customdir:            local
183   custometcdir:         ${customdir}/etc
184   customhtmldir:        ${customdir}/html
185   customlexdir:         ${customdir}/po
186   customstaticdir:      ${customdir}/static
187   customlibdir:         ${customdir}/lib
188   customplugindir:  ${customdir}/plugins
189 </Layout>
190 <Layout vessel>
191   prefix:               /opt/rt4
192   exec_prefix:          ${prefix}
193   bindir:               bin
194   sbindir:              sbin
195   sysconfdir:   etc/rt/
196   mandir:               man
197   libdir:               lib/rt
198   datadir:              share/rt
199   plugindir:    ${datadir}/plugins
200   htmldir:              ${datadir}/html
201   fontdir:              ${datadir}/fonts
202   lexdir:               ${datadir}/po
203   staticdir:            ${datadir}/static
204   manualdir:    docs/rt
205   localstatedir:        var/rt/
206   logfiledir:           ${localstatedir}/log
207   masonstatedir:        ${localstatedir}/mason_data
208   sessionstatedir:      ${localstatedir}/session_data
209   customdir:            local/rt/
210   custometcdir:         ${customdir}/etc
211   customhtmldir:        ${customdir}/html
212   customlexdir:         ${customdir}/po
213   customstaticdir:      ${customdir}/static
214   customlibdir:         ${customdir}/lib
215   customplugindir:  ${customdir}/plugins
216 </Layout>
217
218 <Layout Freeside>
219   prefix:               /opt/rt3
220   exec_prefix:          ${prefix}
221   bindir:               ${exec_prefix}/bin
222   sbindir:              ${exec_prefix}/sbin
223   sysconfdir:           ${prefix}/etc
224   mandir:               ${prefix}/man
225   plugindir:            ${prefix}/plugins
226   libdir:               ${prefix}/lib
227   datadir:              ${prefix}/share
228   htmldir:              %%%FREESIDE_DOCUMENT_ROOT%%%/rt
229   fontdir:              ${datadir}/fonts
230   lexdir:               ${datadir}/po
231   staticdir:            ${datadir}/static
232   manualdir:            ${prefix}/docs
233   localstatedir:        ${prefix}/var
234   logfiledir:           ${localstatedir}/log
235   masonstatedir:        %%%MASONDATA%%%
236   sessionstatedir:      ${localstatedir}/session_data
237   customdir:            ${prefix}/local
238   custometcdir:         ${customdir}/etc
239   customhtmldir:        ${customdir}/html
240   customlexdir:         ${customdir}/po
241   customstaticdir:      ${customdir}/static
242   customlibdir:         ${customdir}/lib
243   customplugindir:  ${customdir}/plugins
244 </Layout>
245