[gupnp] doc: Fix dependencies for manpage



commit 610b957a7696aad738a89a0acfd3ca0e4fd1c312
Author: Jens Georg <mail jensge org>
Date:   Fri Oct 29 21:21:24 2021 +0200

    doc: Fix dependencies for manpage

 doc/meson.build | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/doc/meson.build b/doc/meson.build
index 569bf01..642fc88 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -4,20 +4,26 @@ version_xml = configure_file(input: 'version.xml.in',
                output: 'version.xml', configuration:
                entities)
 
+docbook_man_page = configure_file(
+  input: 'gupnp-binding-tool.xml.in',
+  output: 'gupnp-binding-tool.xml',
+  configuration: api_config,
+  install: false
+)
+
 if get_option('gtk_doc')
     gnome.gtkdoc('gupnp',
              content_files : files(
                 'client-tutorial.xml',
                 'fdl-1.1.xml',
                 'glossary.xml',
-                'gupnp-binding-tool.xml',
                 'gupnp-docs.xml',
                 'overview.xml',
                 'server-tutorial.xml'
              ),
              main_xml : 'gupnp-docs.xml',
              src_dir : ['libgupnp'],
-             dependencies : libgupnp,
+             dependencies : [libgupnp, version_xml, docbook_man_page],
              scan_args : ['--ignore-decorators', 'G_DEPRECATED|G_GNUC_DEPRECATED,G_DEPRECATED_FOR'],
              ignore_headers : [
                  'gena-protocol.h',
@@ -38,13 +44,6 @@ if get_option('gtk_doc')
              install : true)
 endif
 
-docbook_man_page = configure_file(
-  input: 'gupnp-binding-tool.xml.in',
-  output: 'gupnp-binding-tool.xml',
-  configuration: api_config,
-  install: false
-)
-
 xsltproc = find_program('xsltproc', required: false)
 if xsltproc.found()
     stylesheet = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'


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