rewrite-config.PL - helper for the Koha packager and installer
perl rewrite-config.PL configurationfile
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.
The following configuration keywords are available:
PREFIX, BASE_DIR, CGI_DIR, LOG_DIR, PLUGINS_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
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.
Makefile.PL, ExtUtils::MakeMaker(3)
MJ Ray mjr at phonecoop.coop