2 # A file-manager extension which offers configurable context menu actions.
4 # Copyright (C) 2005 The GNOME Foundation
5 # Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
6 # Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
8 # FileManager-Actions is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of
11 # the License, or (at your option) any later version.
13 # FileManager-Actions is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with FileManager-Actions; see the file COPYING. If not, see
20 # <http://www.gnu.org/licenses/>.
23 # Frederic Ruaudel <grumz@grumz.net>
24 # Rodrigo Moya <rodrigo@gnome-db.org>
25 # Pierre Wieser <pwieser@trychlos.org>
26 # ... and many others (see AUTHORS)
28 # serial 5 rename as FMA_ENABLE_DOCS
31 dnl This macro targets the maintainer and enable the generation of al
32 dnl documentation stuff.
33 dnl This is a shortcut for:
34 dnl --enable-deprecated
36 dnl --enable-scrollkeeper (omf generation)
38 dnl --enable-gtk-doc-html (html reference manual generation)
39 dnl --enable-html-manuals (html user's guide manual generation)
40 dnl --enable-pdf-manuals (pdf user's guide manual generation)
42 dnl usage: FMA_ENABLE_DOCS
44 AC_DEFUN([FMA_ENABLE_DOCS],[
45 AC_REQUIRE([_AC_ARG_FMA_ENABLE_DOCS])dnl
47 AC_MSG_CHECKING([whether to build all the documentation stuff])
49 if test "${enable_docs}" = "yes"; then
51 enable_deprecated="yes"
53 enable_scrollkeeper="yes"
55 enable_gtk_doc_html="yes"
56 enable_html_manuals="yes"
57 enable_pdf_manuals="yes"
63 AC_DEFUN([_AC_ARG_FMA_ENABLE_DOCS],[
67 [--enable-docs@<:@no@:>@],
68 [build all documentation @<:@gdt@:>@]),
69 [enable_docs=$enableval],