Skip to content

Commit a32c102

Browse files
committed
add conditional for --enable-man, default is yes
1 parent dc84b6f commit a32c102

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

configure.ac

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,13 @@ AC_ARG_ENABLE([zmq],
167167

168168
AC_ARG_WITH([protoc-bindir],[AS_HELP_STRING([--with-protoc-bindir=BIN_DIR],[specify protoc bin path])], [protoc_bin_path=$withval], [])
169169

170+
# Enable manpages
171+
AC_ARG_ENABLE(man,
172+
[AS_HELP_STRING([--enable-man],
173+
[install man pages [default=yes]])],,
174+
enable_man=yes)
175+
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)
176+
170177
# Enable debug
171178
AC_ARG_ENABLE([debug],
172179
[AS_HELP_STRING([--enable-debug],
@@ -1046,7 +1053,7 @@ AC_SUBST(EVENT_PTHREADS_LIBS)
10461053
AC_SUBST(ZMQ_LIBS)
10471054
AC_SUBST(PROTOBUF_LIBS)
10481055
AC_SUBST(QR_LIBS)
1049-
AC_CONFIG_FILES([Makefile src/Makefile share/setup.nsi share/qt/Info.plist src/test/buildenv.py])
1056+
AC_CONFIG_FILES([Makefile src/Makefile doc/man/Makefile share/setup.nsi share/qt/Info.plist src/test/buildenv.py])
10501057
AC_CONFIG_FILES([qa/pull-tester/run-bitcoind-for-test.sh],[chmod +x qa/pull-tester/run-bitcoind-for-test.sh])
10511058
AC_CONFIG_FILES([qa/pull-tester/tests_config.py],[chmod +x qa/pull-tester/tests_config.py])
10521059
AC_CONFIG_FILES([contrib/devtools/split-debug.sh],[chmod +x contrib/devtools/split-debug.sh])

0 commit comments

Comments
 (0)