$Id: INSTALL,v 1.5 2003/04/01 22:52:01 jtalkington Exp $

To install, run
./configure [options]
make
make install


Configure options that are of note:

--prefix=DIR
	Sets the base directory for the program, configuration, and man page
	files.

--bindir=DIR
	Set this to your cgi-bin directory (defaults to /usr/local/bin, which
	is almost definitely wrong).

All of these options can be changed in the config file (or must be set if the
config file is disabled).

--with-man=MAN
	If your man program is not called 'man', or if you need to pass flags
	to man to get non tabbed output (e.g. on MacOS X, this needs to be set
	to "man -P 'col -x'").

--with-manpath=MANPATH
	To set the built in MANPATH.  This can be modified in the config file.
	This is used when generating section indexes, and is passed to man
	when --with-manpath-switch is specified.

--with-manpath-switch=SWITCH
	Sets the switch used to pass the path to to man (defaults to none). If
	the manpath is set, but a switch is not specified, man is left to it's
	own devices to figure out the manpath.

--with-section-switch=SWITCH
	Sets the switch used to pass the section to man (defaults to none, and
	the section is passed *before* the name of the man page you want)

--enable-apropos=APROPOS
	Sets the name of the program that does keyword searches(defaults to
	apropos).

To disable certain features, use the following options

--disable-config
	Disable the use of a config file, and only use built in values.  You'll
	need to use the above --enable and --with options if you want it to
	work properly.

	If you disable the config, you will need to edit src/cover_page.h to
	change the section, otherwise the cover page and search forms will not
	really work for your system, as the defaults are very generic.

--disable-indexes
	Disable section index generation.  Only use this if have used
	--disable-config or never want to generate indexes.  You can disable
	indexes in the configuration file also.

--disable-apropos
	Disable apropos searches.  Use this if there is a problem the local
	apropos that will never get fixed.  Apropos can also be disabled in the
	config file.

