GH-512: add --mandir configure option

This commit is contained in:
Jon Siwek 2019-08-01 11:22:57 -07:00
parent 68b0e1d54d
commit 11f90bc9f5
3 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,8 @@
2.6-737 | 2019-08-01 11:22:57 -0700
* GH-512: add --mandir configure option (Jon Siwek, Corelight)
2.6-735 | 2019-07-31 21:29:58 -0700 2.6-735 | 2019-07-31 21:29:58 -0700
* Fix the link to "good first issue" tickets. (Seth Hall, Corelight) * Fix the link to "good first issue" tickets. (Seth Hall, Corelight)

View file

@ -1 +1 @@
2.6-735 2.6-737

4
configure vendored
View file

@ -42,6 +42,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
--logdir=PATH when using ZeekControl, path to store log file --logdir=PATH when using ZeekControl, path to store log file
[PREFIX/logs] [PREFIX/logs]
--conf-files-dir=PATH config files installation directory [PREFIX/etc] --conf-files-dir=PATH config files installation directory [PREFIX/etc]
--mandir=PATH installation path for man pages [PREFIX/share/man]
Optional Features: Optional Features:
--enable-debug compile in debugging mode (like --build-type=Debug) --enable-debug compile in debugging mode (like --build-type=Debug)
@ -209,6 +210,9 @@ while [ $# -ne 0 ]; do
--logdir=*) --logdir=*)
append_cache_entry ZEEK_LOG_DIR PATH $optarg append_cache_entry ZEEK_LOG_DIR PATH $optarg
;; ;;
--mandir=*)
append_cache_entry ZEEK_MAN_INSTALL_PATH PATH $optarg
;;
--enable-coverage) --enable-coverage)
append_cache_entry ENABLE_COVERAGE BOOL true append_cache_entry ENABLE_COVERAGE BOOL true
append_cache_entry ENABLE_DEBUG BOOL true append_cache_entry ENABLE_DEBUG BOOL true