Commit a0301bde authored by Fabrice Fontaine's avatar Fabrice Fontaine

Add --disable-doc option

Signed-off-by: default avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
parent 04a3674f
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
SUBDIRS = lib doc tinytest tests SUBDIRS = lib tinytest tests
if BUILDDOC
SUBDIRS += doc
endif
if BUILDEXAMPLES if BUILDEXAMPLES
SUBDIRS += examples SUBDIRS += examples
......
...@@ -99,6 +99,18 @@ docxx=yes ...@@ -99,6 +99,18 @@ docxx=yes
AM_CONDITIONAL(BUILDCXX, test x$docxx = xyes) AM_CONDITIONAL(BUILDCXX, test x$docxx = xyes)
dodoc=yes
AC_ARG_ENABLE(doc,
AS_HELP_STRING([--disable-doc], [Disable building of the documentation]),
[if test "$enableval" = "no"; then dodoc="no"; fi],
[
dodoc=yes
]
)
AM_CONDITIONAL(BUILDDOC, test x$dodoc = xyes)
doexamples=yes doexamples=yes
AC_ARG_ENABLE(examples, AC_ARG_ENABLE(examples,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment