Lines Matching +full:html +full:- +full:docs +full:- +full:path
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
32 AC_ARG_WITH([doc-dir],
33 [AS_HELP_STRING([--with-doc-dir=PATH],
34 [Where to install docs [default=autodetect]])])
44 if test -d "/usr/share/doc"
48 elif test -d "/usr/doc"
57 # check whether to include package version into documentation path
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)
76 dnl * determine destination directory for HTML files
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]])],[
99 AC_PATH_PROG([GTKDOC],[gtkdoc-mkdb])
100 if test -n "${GTKDOC}"; then
104 gtkdoc_msg="no (http://www.gtk.org/rdp/download.html)"
108 GP_CONFIG_MSG([build API docs with gtk-doc],[$gtkdoc_msg])
111 # ---------------------------------------------------------------------------
112 # Give the user the possibility to install html documentation in a
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]])])
119 AC_MSG_CHECKING([for html dir])
121 htmldir="${docdir}/html"
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"])