<<

NAME

rewrite-config.PL - helper for the Koha packager and installer

SYNOPSIS

        perl rewrite-config.PL configurationfile

DESCRIPTION

This helper script replaces keywords in the configuration files with value either supplied through the environment (with export, or by putting them on the start of the make command line) or with reasonable guesses worked out by the script.

KEYWORDS

The following configuration keywords are available:

PREFIX, BASE_DIR, CGI_DIR, LOG_DIR, INSTALL_BASE, DB_TYPE, DB_HOST, DB_PORT, DB_NAME, DB_PASS, DB_USER, WEBMASTER_EMAIL, WEBSERVER_DOMAIN, WEBSERVER_HOST, WEBSERVER_IP, WEBSERVER_PORT, WEBSERVER_PORT_LIBRARIAN, ZEBRA_PASS, ZEBRA_USER

EXAMPLES

To override the guessed hostname and email address, run:

        WEBSERVER_HOST=mysecrethostname.com.invalid \
        WEBMASTER_EMAIL=webmaster@publichost.com make install

Note that if WEBSERVER_HOST does not resolve to an IP address, you will also need to override WEBSERVER_IP.

SEE ALSO

Makefile.PL, ExtUtils::MakeMaker(3)

AUTHOR

MJ Ray mjr at phonecoop.coop

<<