annotate INSTALL-CVS @ 48425:0cf464af16fe

*** empty log message ***
author Dave Love <fx@gnu.org>
date Mon, 18 Nov 2002 15:41:27 +0000
parents cfdefd705783
children ca7aa82d6f39
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
45852
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 Building and Installing Emacs from CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 Some of the files that are included in the Emacs tarball, such as
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 byte-compiled Lisp files, are not stored in the CVS repository.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 Therefore, to build from CVS you must run "make bootstrap"
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 instead of just "make":
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 $ ./configure
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 $ make bootstrap
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 The bootstrap process makes sure all necessary files are rebuilt
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 before it builds the final Emacs binary.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 Normally, it is not necessary to use "make bootstrap" after every CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15 update. Unless there are problems, we suggest the following
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 procedure:
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 $ ./configure
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 $ make
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 $ cd lisp
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 $ make recompile EMACS=../src/emacs
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 $ cd ..
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 $ make
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 (If you want to install the Emacs binary, type "make install" instead
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 of "make" in the last command.)
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 If the above procedure fails, try "make bootstrap".
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 Users of non-Posix systems (MS-Windows etc.) should run the
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 platform-specific configuration scripts (nt/configure.bat, config.bat,
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 etc.) before "make bootstrap" or "make"; the rest of the procedure is
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33 applicable to those systems as well.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 Note that "make bootstrap" overwrites some files that are under CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 control, such as lisp/loaddefs.el. This could produce CVS conflicts
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 next time that you resync with the CVS. If you see such conflicts,
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 overwrite your local copy of the file with the clean version from the
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 CVS repository. For example:
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 cvs update -C lisp/loaddefs.el
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 Please report any bugs in the CVS versions to emacs-pretest-bug@gnu.org.