Skip to content
Snippets Groups Projects
Commit f49fb0a2 authored by Christian Engwer's avatar Christian Engwer
Browse files

documentation isn't disabled anymore, you have to run 'make doc'

explicitly to build it.

[[Imported from SVN: r5921]]
parent 3ad1873e
Branches
Tags
No related merge requests found
......@@ -9,8 +9,6 @@
# dune-directory
AC_DEFUN([DUNE_CHECK_ALL],[
# doxygen and latex take a lot of time...
AC_REQUIRE([DUNE_DOCUMENTATION])
AC_REQUIRE([DUNE_WEB])
AC_ARG_ENABLE(enabledist,
......
# searches for documentation
AC_DEFUN([DUNE_DOCUMENTATION],[
# if dist has been build without
# documentation then disable documentation
# option by default
DOCU_TAG_FILE="no-documentation.tag"
AS_IF([test -f "doc/$DOCU_TAG_FILE"],[
HAS_DOCUMENTATION="no"],[
# check whether option is chosen or not
AS_IF([test "x$enable_documentation" != "xno"],[
HAS_DOCUMENTATION="yes"],[
HAS_DOCUMENTATION="no"
])
])
AC_SUBST(DOCUMENTATION_TAG_FILE, $DOCU_TAG_FILE )
AC_ARG_ENABLE(documentation,
AS_HELP_STRING([--disable-documentation],[don\'t generate docs, speeds up the build]))
AM_CONDITIONAL(BUILD_DOCS, [test "x$HAS_DOCUMENTATION" = "xyes"])
])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment