diff options
| author | Richard M. Stallman | 1996-09-24 06:56:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-24 06:56:29 +0000 |
| commit | ea3165c72358ff434adf7774ab900090c6fa000e (patch) | |
| tree | b9dc64857b199f0fd66d4e5582e15b864802a466 | |
| parent | 1e3ab67be50df67c5a37f9e1db2d347985a0fac5 (diff) | |
| download | emacs-ea3165c72358ff434adf7774ab900090c6fa000e.tar.gz emacs-ea3165c72358ff434adf7774ab900090c6fa000e.zip | |
Explain better about building in separate directory.
| -rw-r--r-- | INSTALL | 34 |
1 files changed, 21 insertions, 13 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | GNU Emacs Installation Guide | 1 | GNU Emacs Installation Guide |
| 2 | Copyright (c) 1992, 1994 Free software Foundation, Inc. | 2 | Copyright (c) 1992, 1994, 1996 Free software Foundation, Inc. |
| 3 | 3 | ||
| 4 | Permission is granted to anyone to make or distribute verbatim copies | 4 | Permission is granted to anyone to make or distribute verbatim copies |
| 5 | of this document as received, in any medium, provided that the | 5 | of this document as received, in any medium, provided that the |
| @@ -38,8 +38,11 @@ then the installation procedure momentarily requires 70+35 Mb. | |||
| 38 | give to the `configure' program. That file offers hints for | 38 | give to the `configure' program. That file offers hints for |
| 39 | getting around some possible installation problems. | 39 | getting around some possible installation problems. |
| 40 | 40 | ||
| 41 | 3) In the top directory of the Emacs distribution, run the program | 41 | 3) You can build Emacs in the top-level Emacs source directory |
| 42 | `configure' as follows: | 42 | or in a separate directory. |
| 43 | |||
| 44 | 3a) To build in the top-level Emacs source directory, go to that | ||
| 45 | directory and run the program `configure' as follows: | ||
| 43 | 46 | ||
| 44 | ./configure CONFIGURATION-NAME [--OPTION[=VALUE]] ... | 47 | ./configure CONFIGURATION-NAME [--OPTION[=VALUE]] ... |
| 45 | 48 | ||
| @@ -78,13 +81,6 @@ add `--with-hesiod'. These options enable Emacs to use POP; whether | |||
| 78 | Emacs uses POP is controlled by individual users--see the Rmail | 81 | Emacs uses POP is controlled by individual users--see the Rmail |
| 79 | chapter of the Emacs manual. | 82 | chapter of the Emacs manual. |
| 80 | 83 | ||
| 81 | You can build Emacs for several different machine types from a single | ||
| 82 | source directory. To do this, you must use a version of `make' that | ||
| 83 | supports the `VPATH' variable, such as GNU `make'. Make separate | ||
| 84 | build directories for the different configuration types, and in each | ||
| 85 | one, run the Emacs `configure' script. `configure' looks for the | ||
| 86 | Emacs source code in the directory that `configure' is in. | ||
| 87 | |||
| 88 | The `--prefix=PREFIXDIR' option specifies where the installation process | 84 | The `--prefix=PREFIXDIR' option specifies where the installation process |
| 89 | should put emacs and its data files. This defaults to `/usr/local'. | 85 | should put emacs and its data files. This defaults to `/usr/local'. |
| 90 | - Emacs (and the other utilities users run) go in PREFIXDIR/bin | 86 | - Emacs (and the other utilities users run) go in PREFIXDIR/bin |
| @@ -130,9 +126,21 @@ tests in FILE instead of `config.cache'. Set FILE to `/dev/null' to | |||
| 130 | disable caching, for debugging `configure'. | 126 | disable caching, for debugging `configure'. |
| 131 | 127 | ||
| 132 | The work of `configure' can be done by editing various files in the | 128 | The work of `configure' can be done by editing various files in the |
| 133 | distribution, but using `configure' is supposed to be simpler. See | 129 | distribution, but using `configure' is easier. See the section called |
| 134 | the section called "CONFIGURATION BY HAND" below if you want to do the | 130 | "CONFIGURATION BY HAND" below if you want to do the configuration |
| 135 | configuration yourself. | 131 | yourself. |
| 132 | |||
| 133 | 3b) To build in a separate directory, go to that directory | ||
| 134 | and run the program `configure' as follows: | ||
| 135 | |||
| 136 | SOURCE-DIR/configure CONFIGURATION-NAME [--OPTION[=VALUE]] ... | ||
| 137 | |||
| 138 | SOURCE-DIR refers to the top-level Emacs source directory which is | ||
| 139 | where Emacs's configure script is located. `configure' looks for the | ||
| 140 | Emacs source code in the directory that `configure' is in. | ||
| 141 | |||
| 142 | To build in a separate directory, you must use a version of `make' | ||
| 143 | that supports the `VPATH' variable, such as GNU `make'. | ||
| 136 | 144 | ||
| 137 | 4) Look at `./lisp/paths.el'; if some of those values are not right | 145 | 4) Look at `./lisp/paths.el'; if some of those values are not right |
| 138 | for your system, set up the file `./lisp/site-init.el' with Emacs | 146 | for your system, set up the file `./lisp/site-init.el' with Emacs |