Bug 16083 Allow cli overrides for makefile settings.
authorAlex Sassmannshausen <alex.sassmannshausen@ptfs-europe.com>
Wed, 16 Mar 2016 16:04:48 +0000 (17:04 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Jan 2017 11:48:29 +0000 (11:48 +0000)
commitec03b78106d60b0f28ed9a8085c70febee9de111
tree89bfd01cbb9e0d59fca0d59a90153e5baef25d88
parent6caac44a94b6eeac489aeea1fa66472022d4e72a
Bug 16083 Allow cli overrides for makefile settings.

Currently the Makefile.pl script only accepts the '--prev-install-log' commandline flag for reading Koha configuration values from the previous installation.

The Makefile does not have help output.

The aim of this bug report is to add 2 things:
- --help output
- commandline parameters that should allow automating many of the common settings if desired
- when commandline parameters are not passed we simply fall back to the interactive method of old

Test Plan:

- Run the Makefile without parameters — the script should work as before.
- Run the script with the '-h' flag — it should output help.
- Run the script with any number of additional legal flags — the script should skip those questions in its interactive mode.

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Reworked the log message with Bugzilla comments.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Amended patch: perltidy GetOptions block

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Makefile.PL