[nautilus-actions] FMA_ENABLE_DOCS: new '--enable-docs' m4 macro



commit ea6fe6bec0f7046a71619f1f6a5ced1638e053c0
Author: Pierre Wieser <pwieser trychlos org>
Date:   Thu Feb 16 17:08:16 2017 +0100

    FMA_ENABLE_DOCS: new '--enable-docs' m4 macro
    
    This is a maintainer shortcut for
    --enable-deprecated
    --enable-scrollkeeper
    --enable-gtk-doc
    --enable-gtk-doc-html
    --enable-html-manuals
    --enable-pdf-manuals.

 m4/fma-enable-docs.m4 |   64 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/m4/fma-enable-docs.m4 b/m4/fma-enable-docs.m4
new file mode 100644
index 0000000..c85b8e0
--- /dev/null
+++ b/m4/fma-enable-docs.m4
@@ -0,0 +1,64 @@
+# FileManager-Actions
+# A file-manager extension which offers configurable context menu actions.
+#
+# Copyright (C) 2005 The GNOME Foundation
+# Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
+# Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
+#
+# FileManager-Actions is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# FileManager-Actions is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with FileManager-Actions; see the file COPYING. If not, see
+# <http://www.gnu.org/licenses/>.
+#
+# Authors:
+#   Frederic Ruaudel <grumz grumz net>
+#   Rodrigo Moya <rodrigo gnome-db org>
+#   Pierre Wieser <pwieser trychlos org>
+#   ... and many others (see AUTHORS)
+
+# serial 5 rename as FMA_ENABLE_DOCS
+
+dnl --enable-docs
+dnl   This macro targets the maintainer and enable the generation of al
+dnl   documentation stuff.
+dnl   This is a shortcut for:
+dnl   --enable-deprecated
+dnl   --enable-gconf
+dnl   --enable-scrollkeeper (omf generation)
+dnl   --enable-gtk-doc
+dnl   --enable-gtk-doc-html (html reference manual generation)
+dnl   --enable-html-manuals (html user's guide manual generation)
+dnl   --enable-pdf-manuals (pdf user's guide manual generation)
+dnl
+dnl usage:  FMA_ENABLE_DOCS
+
+AC_DEFUN([FMA_ENABLE_DOCS],[
+       AC_REQUIRE([_AC_ARG_FMA_ENABLE_DOCS])dnl
+
+       enable_deprecated="yes"
+       enable_gconf="yes"
+       enable_scrollkeeper="yes"
+       enable_gtk_doc="yes"
+       enable_gtk_doc_html="yes"
+       enable_html_manuals="yes"
+       enable_pdf_manuals="yes"
+])
+
+AC_DEFUN([_AC_ARG_FMA_ENABLE_DOCS],[
+       AC_ARG_ENABLE(
+               [docs],
+               AC_HELP_STRING(
+                       [--enable-docs@<:@no@:>@],
+                       [build all documentation @<:@gdt@:>@]),
+                       [enable_docs=$enableval],
+                       [enable_docs="no"])
+])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]