Commit 85d98034 authored by unknown's avatar unknown
Browse files

added --without-man option similar to --without-docs

(part of BUG#5379)

parent dc955863
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ AUTOMAKE_OPTIONS = foreign
EXTRA_DIST =		INSTALL-SOURCE README COPYING EXCEPTIONS-CLIENT
SUBDIRS =		. include @docs_dirs@ @readline_dir@ \
			@thread_dirs@ pstack @sql_client_dirs@ \
			@sql_server_dirs@ scripts man tests \
			@sql_server_dirs@ scripts @man_dirs@ tests \
			BUILD netware os2 @libmysqld_dirs@ \
			@bench_dirs@ support-files @fs_dirs@ @tools_dirs@

+15 −0
Original line number Diff line number Diff line
@@ -2181,6 +2181,21 @@ else
fi
AC_SUBST(docs_dirs)

# Shall we build the man pages?
AC_ARG_WITH(man,
    [  --without-man          Skip building of the man pages.],
    [with_man=$withval],
    [with_man=yes]
)

if test "$with_man" = "yes"
then
  man_dirs="man"
else
  man_dirs=""
fi
AC_SUBST(man_dirs)

# Shall we build the bench code?
AC_ARG_WITH(bench,
    [  --without-bench         Skip building of the benchmark suite.],