comparison INSTALL @ 9499:151b595bc41a

Formerly INSTALL.~33~
author David J. MacKenzie <djm@gnu.org>
date Thu, 13 Oct 1994 00:02:32 +0000
parents 0d3e8a3551b1
children 6773cf9c2e75
comparison
equal deleted inserted replaced
9498:0d3e8a3551b1 9499:151b595bc41a
122 The `configure' program does not accept abbreviations for its 122 The `configure' program does not accept abbreviations for its
123 options. 123 options.
124 124
125 Note that `configure' doesn't do any compilation or installation 125 Note that `configure' doesn't do any compilation or installation
126 itself. It just creates the files that influence those things: 126 itself. It just creates the files that influence those things:
127 `./Makefile', `build-install', and `./src/config.h'. For details on 127 `./Makefile', `lib-src/Makefile', `oldXMenu/Makefile',
128 exactly what it does, see the section called `CONFIGURATION BY HAND', 128 `lwlib/Makefile', `src/Makefile', and `./src/config.h'. For details
129 below. 129 on exactly what it does, see the section called `CONFIGURATION BY
130 HAND', below.
130 131
131 When it is done, `configure' prints a description of what it did and 132 When it is done, `configure' prints a description of what it did and
132 leaves a copy in the file `config.status'. That file is also a shell 133 leaves a copy in the file `config.status'. That file is also a shell
133 script which, when run, recreates the same configuration; it contains 134 script which, when run, recreates the same configuration; it contains
134 the verbal description as a comment. If `configure' exits with an 135 the verbal description as a comment. If `configure' exits with an
267 `bindir' indicates where to put executable programs that users can 268 `bindir' indicates where to put executable programs that users can
268 run. This defaults to /usr/local/bin. 269 run. This defaults to /usr/local/bin.
269 270
270 `datadir' indicates where to put the architecture-independent 271 `datadir' indicates where to put the architecture-independent
271 read-only data files that Emacs refers to while it runs; it 272 read-only data files that Emacs refers to while it runs; it
272 defaults to /usr/local/lib. We create the following 273 defaults to /usr/local/share. We create the following
273 subdirectories under `datadir': 274 subdirectories under `datadir':
274 - `emacs/VERSION/lisp', containing the Emacs lisp library, and 275 - `emacs/VERSION/lisp', containing the Emacs lisp library, and
275 - `emacs/VERSION/etc', containing the Emacs tutorial, the DOC 276 - `emacs/VERSION/etc', containing the Emacs tutorial, the DOC
276 file, and the `yow' database. 277 file, and the `yow' database.
277 `VERSION' is the number of the Emacs version you are installing, 278 `VERSION' is the number of the Emacs version you are installing,
279 of Emacs to another, including the version number in the path 280 of Emacs to another, including the version number in the path
280 allows you to have several versions of Emacs installed at the 281 allows you to have several versions of Emacs installed at the
281 same time; this means that you don't have to make Emacs 282 same time; this means that you don't have to make Emacs
282 unavailable while installing a new version. 283 unavailable while installing a new version.
283 284
284 `statedir' indicates where to put architecture-independent data files 285 `sharedstatedir' indicates where to put architecture-independent data files
285 that Emacs modifies while it runs; it defaults to 286 that Emacs modifies while it runs; it defaults to
286 /usr/local/lib as well. We create the following 287 /usr/local/com. We create the following
287 subdirectories under `statedir': 288 subdirectories under `sharedstatedir':
288 - `emacs/lock', containing files indicating who is editing 289 - `emacs/lock', containing files indicating who is editing
289 what, so Emacs can detect editing clashes between 290 what, so Emacs can detect editing clashes between
290 users. 291 users.
291 292
292 `libdir' indicates where to put architecture-specific data files that 293 `libexecdir' indicates where to put architecture-specific data files that
293 Emacs refers to as it runs; it too defaults to `/usr/local/lib'. 294 Emacs refers to as it runs; it defaults to `/usr/local/libexec'.
294 We create the following subdirectories under `libdir': 295 We create the following subdirectories under `libexecdir':
295 - `emacs/VERSION/CONFIGURATION-NAME', containing executable 296 - `emacs/VERSION/CONFIGURATION-NAME', containing executable
296 programs used by Emacs that users are not expected to run 297 programs used by Emacs that users are not expected to run
297 themselves. 298 themselves.
298 `VERSION' is the number of the Emacs version you are installing, 299 `VERSION' is the number of the Emacs version you are installing,
299 and `CONFIGURATION-NAME' is the argument you gave to the 300 and `CONFIGURATION-NAME' is the argument you gave to the
321 installed as `/usr/local/man/man1/emacs.1'. 322 installed as `/usr/local/man/man1/emacs.1'.
322 323
323 `prefix' doesn't give a path for any specific part of Emacs; instead, 324 `prefix' doesn't give a path for any specific part of Emacs; instead,
324 its value is used to determine the defaults for all the 325 its value is used to determine the defaults for all the
325 architecture-independent path variables - `datadir', 326 architecture-independent path variables - `datadir',
326 `statedir', `infodir', and `mandir'. Its default value is 327 `sharedstatedir', `infodir', and `mandir'. Its default value is
327 `/usr/local'; the other variables add on `lib' or `man' to it 328 `/usr/local'; the other variables add on `lib' or `man' to it
328 by default. 329 by default.
329 330
330 For example, suppose your site generally places GNU software 331 For example, suppose your site generally places GNU software
331 under `/usr/users/software/gnusoft' instead of `/usr/local'. 332 under `/usr/users/software/gnusoft' instead of `/usr/local'.
335 to place all of the Emacs data files in the appropriate 336 to place all of the Emacs data files in the appropriate
336 directories under that path. 337 directories under that path.
337 338
338 `exec_prefix' serves the same purpose as `prefix', but instead 339 `exec_prefix' serves the same purpose as `prefix', but instead
339 determines the default values for the architecture-dependent 340 determines the default values for the architecture-dependent
340 path variables - `bindir' and `libdir'. 341 path variables - `bindir' and `libexecdir'.
341 342
342 The above variables serve analogous purposes in the makefiles for all 343 The above variables serve analogous purposes in the makefiles for all
343 GNU software; here are some variables specific to Emacs. 344 GNU software; here are some variables specific to Emacs.
344 345
345 `lispdir' indicates where Emacs installs and expects its lisp 346 `lispdir' indicates where Emacs installs and expects its lisp
363 its architecture-independent data, like the tutorial, DOC 364 its architecture-independent data, like the tutorial, DOC
364 file, and yow database. Its default value, based on `datadir' 365 file, and yow database. Its default value, based on `datadir'
365 (which see), is `/usr/local/lib/emacs/VERSION/etc'. 366 (which see), is `/usr/local/lib/emacs/VERSION/etc'.
366 367
367 `lockdir' indicates the directory where Emacs keeps track of its 368 `lockdir' indicates the directory where Emacs keeps track of its
368 locking information. Its default value, based on `statedir' 369 locking information. Its default value, based on `sharedstatedir'
369 (which see), is `/usr/local/lib/emacs/lock'. 370 (which see), is `/usr/local/lib/emacs/lock'.
370 371
371 `archlibdir' indicates where Emacs installs and expects the 372 `archlibdir' indicates where Emacs installs and expects the
372 executable files and other architecture-dependent data it uses 373 executable files and other architecture-dependent data it uses
373 while running. Its default value, based on `libdir' (which 374 while running. Its default value, based on `libexecdir' (which
374 see), is `/usr/local/lib/emacs/VERSION/CONFIGURATION-NAME' 375 see), is `/usr/local/lib/emacs/VERSION/CONFIGURATION-NAME'
375 (where VERSION and CONFIGURATION-NAME are as described above). 376 (where VERSION and CONFIGURATION-NAME are as described above).
376 377
377 Remember that you must specify any variable values you need each time 378 Remember that you must specify any variable values you need each time
378 you run `make' in the top directory. If you run `make' once to build 379 you run `make' in the top directory. If you run `make' once to build