From 60b83a5f0a0ac5c1f860df33b0698150b1779179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 8 Aug 2017 00:07:32 +0100 Subject: [PATCH] gnome: add 'ignore_headers' to permitted kwarg list for gnome.gtkdoc() --- docs/markdown/Gnome-module.md | 1 + mesonbuild/modules/gnome.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md index 3476d3425..038f1ea77 100644 --- a/docs/markdown/Gnome-module.md +++ b/docs/markdown/Gnome-module.md @@ -153,6 +153,7 @@ Compiles and installs gtkdoc documentation into `prefix/share/gtk-doc/html`. Tak * `html_assets`: a list of assets for the HTML pages * `content_files`: a list of content files * `mkdb_args`: a list of arguments to pass to `gtkdoc-mkdb` +* `ignore_headers`: a list of header files to ignore This creates a `$module-doc` target that can be ran to build docs and normally these are only built on install. diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index f4329d978..7021f2d93 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -692,7 +692,7 @@ class GnomeModule(ExtensionModule): @permittedKwargs({'main_xml', 'main_sgml', 'src_dir', 'dependencies', 'install', 'install_dir', 'scan_args', 'scanobjs_args', 'gobject_typesfile', 'fixxref_args', 'html_args', 'html_assets', 'content_files', - 'mkdb_args'}) + 'mkdb_args', 'ignore_headers'}) def gtkdoc(self, state, args, kwargs): if len(args) != 1: raise MesonException('Gtkdoc must have one positional argument.')