diff options
author | nomnombtc <mastergizmo@arcor.de> | 2016-08-27 01:12:41 +0200 |
---|---|---|
committer | nomnombtc <mastergizmo@arcor.de> | 2016-08-27 01:12:41 +0200 |
commit | a32c102fb1766301977d093c006f7f6cbf7fbea7 (patch) | |
tree | c82fcc250df34917e4dda4be892c152a49e5c451 /configure.ac | |
parent | dc84b6f4192828abd1c0c7a0960445870346c5c7 (diff) |
add conditional for --enable-man, default is yes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d332f4face..4eadd58e79 100644 --- a/configure.ac +++ b/configure.ac @@ -167,6 +167,13 @@ AC_ARG_ENABLE([zmq], AC_ARG_WITH([protoc-bindir],[AS_HELP_STRING([--with-protoc-bindir=BIN_DIR],[specify protoc bin path])], [protoc_bin_path=$withval], []) +# Enable manpages +AC_ARG_ENABLE(man, + [AS_HELP_STRING([--enable-man], + [install man pages [default=yes]])],, + enable_man=yes) +AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no) + # Enable debug AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], @@ -1046,7 +1053,7 @@ AC_SUBST(EVENT_PTHREADS_LIBS) AC_SUBST(ZMQ_LIBS) AC_SUBST(PROTOBUF_LIBS) AC_SUBST(QR_LIBS) -AC_CONFIG_FILES([Makefile src/Makefile share/setup.nsi share/qt/Info.plist src/test/buildenv.py]) +AC_CONFIG_FILES([Makefile src/Makefile doc/man/Makefile share/setup.nsi share/qt/Info.plist src/test/buildenv.py]) AC_CONFIG_FILES([qa/pull-tester/run-bitcoind-for-test.sh],[chmod +x qa/pull-tester/run-bitcoind-for-test.sh]) AC_CONFIG_FILES([qa/pull-tester/tests_config.py],[chmod +x qa/pull-tester/tests_config.py]) AC_CONFIG_FILES([contrib/devtools/split-debug.sh],[chmod +x contrib/devtools/split-debug.sh]) |