• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:docs

7 dnl Copyright (C) 2005-2021 Hans Ulrich Niedermann <gp@n-dimensional.de>
8 dnl SPDX-License-Identifier: LGPL-2.0-or-later
12 AC_MSG_CHECKING([whether to build any docs])
13 AC_ARG_ENABLE([docs], [dnl optenable
14 AS_HELP_STRING([--disable-docs], [whether to create any documentation])], [dnl
23 AM_CONDITIONAL([BUILD_DOCS], [test "x${gp_build_docs}" = "xyes"])
32 AC_ARG_WITH([doc-dir],
33 [AS_HELP_STRING([--with-doc-dir=PATH],
34 [Where to install docs [default=autodetect]])])
39 if test "x${with_doc_dir}" != "x"
44 if test -d "/usr/share/doc"
48 elif test -d "/usr/doc"
59 if ls -d /usr/{share/,}doc/make-[0-9]* > /dev/null 2>&1
61 docdir="${maindocdir}/${PACKAGE}-${VERSION}"
73 dnl check whether to build docs and where to:
75 dnl * determine presence of prerequisites (only gtk-doc for now)
84 # ---------------------------------------------------------------------------
85 # gtk-doc: We use gtk-doc for building our documentation. However, we
87 # ---------------------------------------------------------------------------
91 AC_ARG_ENABLE([docs], optenable
92 [AS_HELP_STRING([--enable-docs],
93 [Use gtk-doc to build documentation [default=no]])],[
94 if test x$enableval = xyes; then
99 AC_PATH_PROG([GTKDOC],[gtkdoc-mkdb])
100 if test -n "${GTKDOC}"; then
108 GP_CONFIG_MSG([build API docs with gtk-doc],[$gtkdoc_msg])
111 # ---------------------------------------------------------------------------
113 # user-defined location.
114 # ---------------------------------------------------------------------------
115 AC_ARG_WITH([html-dir],
116 [AS_HELP_STRING([--with-html-dir=PATH],
117 [Where to install html docs [default=autodetect]])])
120 if test "x${with_html_dir}" = "x" ; then
141 AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != "xfalse"])
142 AM_CONDITIONAL([HAVE_DOT], [test "x$DOT" != "xfalse"])
143 if test "x$DOT" != "xfalse"; then
148 AC_SUBST([HTML_APIDOC_DIR], ["${PACKAGE_TARNAME}-api.html"])
149 AC_SUBST([DOXYGEN_OUTPUT_DIR], [doxygen-output])
150 AC_SUBST([HTML_APIDOC_INTERNALS_DIR], ["${PACKAGE_TARNAME}-internals.html"])