[X2Go-Commits] [libx2goclient] 51/132: configure.ac: add gtk-doc integration.

git-admin at x2go.org git-admin at x2go.org
Fri Dec 3 15:26:31 CET 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 5a4d670dab270d048ad271022b9c0b1a90a29f56
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Apr 30 13:07:13 2021 +0200

    configure.ac: add gtk-doc integration.
---
 configure.ac | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/configure.ac b/configure.ac
index 3cab1c7..bd3237c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,12 +74,23 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
 AC_SUBST(GETTEXT_PACKAGE)
 AM_GLIB_GNU_GETTEXT
 
+dnl gtk-doc support.
+dnl Make sure that "GTK_DOC_CHECK" appears at the very start of a line -
+dnl I don't like this, but gtkdocize requires it.
+m4_ifdef([GTK_DOC_CHECK],
+         [
+GTK_DOC_CHECK([1.14], [--flavour no-tmpl])
+         ],
+         [AM_CONDITIONAL([ENABLE_GTK_DOC], false)])
+
 AC_CONFIG_FILES([
 Makefile
 po/Makefile.in
 src/Makefile
 src/test/Makefile
 src/x2goclient.pc
+docs/reference/libx2goclient/Makefile
+docs/reference/libx2goclient/version.xml
 ])
 
 AC_OUTPUT
@@ -107,4 +118,8 @@ ${P//?/=}
     Use *_DISABLE_DEPRECATED:     ${enable_deprecation_flags}
 
     Build introspection support:  ${found_introspection}
+
+    Enable gtk-doc support:        ${enable_gtk_doc}
+      Generate HTML documentation: ${enable_gtk_doc_html}
+      Generate PDF documentation:  ${enable_gtk_doc_pdf}
 "

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git


More information about the x2go-commits mailing list