Improve documentation.

This commit is contained in:
Eric S. Raymond 2008-04-08 12:18:18 +00:00
parent 20bbc2e121
commit 17cfd3160c

21
INSTALL
View file

@ -49,9 +49,9 @@ then
$ cd wesnoth-x.y.z
Simply type 'scons' in the top-level directory to build game, editor,
and tools. It is possible to select individual targets by naming them
as scons arguments, including wesnothd (the Wesnoth multiplayer server)
Simply type 'scons' in the top-level directory to build the game and
editor. It is possible to select individual targets by naming them as
scons arguments, including wesnothd (the Wesnoth multiplayer server)
and campaignd (the campaign server).
scons takes a prefix= argument that says where to install the game
@ -59,12 +59,12 @@ and its data. The prefix defaults to /usr/local; for production builds
you may want to set prefix=/usr.
The target 'all' is equivalent to 'wesnoth wesnoth_editor cutter
exploder wmllint wmlscope wmlindent'; it is the default.
exploder wesnothd campaignd'.
So, for example, this builds game, editor, tools, and campaign server,
So, for example, this builds game, editor, and campaign server,
enabling debugging on all:
scons debug=yes all campaignd
scons debug=yes wesnoth wesnoth_editor campaignd
To build wesnothd:
@ -82,9 +82,12 @@ If you want to install several versions of wesnoth you should use the
prefsdir= parameter to get distinct preferences directories. The
default is '.wesnoth'.
Installation productions 'install', 'install-wesnothd' and
'install-campaignd' are available. A plain 'install' installs
all client-side tools.
Installation productions 'install', 'install-wesnoth_editor',
'install-wesnothd' and 'install-campaignd' are available.
A plain 'install' installs all binary executables that exist -- so
'scons install' after a plain 'scons' installs game and editor, but
after 'scons all' it will install all binaries.
Notes on the deprecated autotools build: