Welcome to mirror list, hosted at ThFree Co, Russian Federation.

config.layout - github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f8eb9dd33e0fa548957e59b85d15993792f3395f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
##
##  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 'rt5'.
##    (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 RT5 path layout.
<Layout RT5>
  prefix:		/opt/rt5
  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/rt5
  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/rt5
  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>