Lines Matching +full:test +full:- +full:docs
9 AC_MSG_CHECKING([whether to build any docs])
10 AC_ARG_ENABLE([docs], [dnl optenable
11 AS_HELP_STRING([--disable-docs], [whether to create any documentation])], [dnl
20 AM_CONDITIONAL([BUILD_DOCS], [test "x${gp_build_docs}" = "xyes"])
29 AC_ARG_WITH([doc-dir],
30 [AS_HELP_STRING([--with-doc-dir=PATH],
31 [Where to install docs [default=autodetect]])])
36 if test "x${with_doc_dir}" != "x"
41 if test -d "/usr/share/doc"
45 elif test -d "/usr/doc"
56 if ls -d /usr/{share/,}doc/make-[0-9]* > /dev/null 2>&1
58 docdir="${maindocdir}/${PACKAGE}-${VERSION}"
70 dnl check whether to build docs and where to:
72 dnl * determine presence of prerequisites (only gtk-doc for now)
81 # ---------------------------------------------------------------------------
82 # gtk-doc: We use gtk-doc for building our documentation. However, we
84 # ---------------------------------------------------------------------------
88 AC_ARG_ENABLE([docs], optenable
89 [AS_HELP_STRING([--enable-docs],
90 [Use gtk-doc to build documentation [default=no]])],[
91 if test x$enableval = xyes; then
96 AC_PATH_PROG([GTKDOC],[gtkdoc-mkdb])
97 if test -n "${GTKDOC}"; then
105 GP_CONFIG_MSG([build API docs with gtk-doc],[$gtkdoc_msg])
108 # ---------------------------------------------------------------------------
110 # user-defined location.
111 # ---------------------------------------------------------------------------
112 AC_ARG_WITH([html-dir],
113 [AS_HELP_STRING([--with-html-dir=PATH],
114 [Where to install html docs [default=autodetect]])])
117 if test "x${with_html_dir}" = "x" ; then
138 AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != "xfalse"])
139 AM_CONDITIONAL([HAVE_DOT], [test "x$DOT" != "xfalse"])
140 if test "x$DOT" != "xfalse"; then
145 AC_SUBST([HTML_APIDOC_DIR], ["${PACKAGE_TARNAME}-api.html"])
146 AC_SUBST([DOXYGEN_OUTPUT_DIR], [doxygen-output])
147 AC_SUBST([HTML_APIDOC_INTERNALS_DIR], ["${PACKAGE_TARNAME}-internals.html"])