aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-24 06:56:29 +0000
committerRichard M. Stallman1996-09-24 06:56:29 +0000
commitea3165c72358ff434adf7774ab900090c6fa000e (patch)
treeb9dc64857b199f0fd66d4e5582e15b864802a466
parent1e3ab67be50df67c5a37f9e1db2d347985a0fac5 (diff)
downloademacs-ea3165c72358ff434adf7774ab900090c6fa000e.tar.gz
emacs-ea3165c72358ff434adf7774ab900090c6fa000e.zip
Explain better about building in separate directory.
-rw-r--r--INSTALL34
1 files changed, 21 insertions, 13 deletions
diff --git a/INSTALL b/INSTALL
index 522a7390543..7b243f9561a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,5 +1,5 @@
1GNU Emacs Installation Guide 1GNU Emacs Installation Guide
2Copyright (c) 1992, 1994 Free software Foundation, Inc. 2Copyright (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.
38give to the `configure' program. That file offers hints for 38give to the `configure' program. That file offers hints for
39getting around some possible installation problems. 39getting around some possible installation problems.
40 40
413) In the top directory of the Emacs distribution, run the program 413) You can build Emacs in the top-level Emacs source directory
42`configure' as follows: 42or in a separate directory.
43
443a) To build in the top-level Emacs source directory, go to that
45directory 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
78Emacs uses POP is controlled by individual users--see the Rmail 81Emacs uses POP is controlled by individual users--see the Rmail
79chapter of the Emacs manual. 82chapter of the Emacs manual.
80 83
81You can build Emacs for several different machine types from a single
82source directory. To do this, you must use a version of `make' that
83supports the `VPATH' variable, such as GNU `make'. Make separate
84build directories for the different configuration types, and in each
85one, run the Emacs `configure' script. `configure' looks for the
86Emacs source code in the directory that `configure' is in.
87
88The `--prefix=PREFIXDIR' option specifies where the installation process 84The `--prefix=PREFIXDIR' option specifies where the installation process
89should put emacs and its data files. This defaults to `/usr/local'. 85should 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
130disable caching, for debugging `configure'. 126disable caching, for debugging `configure'.
131 127
132The work of `configure' can be done by editing various files in the 128The work of `configure' can be done by editing various files in the
133distribution, but using `configure' is supposed to be simpler. See 129distribution, but using `configure' is easier. See the section called
134the section called "CONFIGURATION BY HAND" below if you want to do the 130"CONFIGURATION BY HAND" below if you want to do the configuration
135configuration yourself. 131yourself.
132
1333b) To build in a separate directory, go to that directory
134and run the program `configure' as follows:
135
136 SOURCE-DIR/configure CONFIGURATION-NAME [--OPTION[=VALUE]] ...
137
138SOURCE-DIR refers to the top-level Emacs source directory which is
139where Emacs's configure script is located. `configure' looks for the
140Emacs source code in the directory that `configure' is in.
141
142To build in a separate directory, you must use a version of `make'
143that supports the `VPATH' variable, such as GNU `make'.
136 144
1374) Look at `./lisp/paths.el'; if some of those values are not right 1454) Look at `./lisp/paths.el'; if some of those values are not right
138for your system, set up the file `./lisp/site-init.el' with Emacs 146for your system, set up the file `./lisp/site-init.el' with Emacs