aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-04-11 21:30:47 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-04-11 21:30:47 +0530
commitd7b401f7d7aec217ee6c18dd44e0978beaf6bd5f (patch)
tree834ed671b42fccfa70a7cf8ee0f847d559addd65 /docs/markdown
parentb2636ceef9cf838b4368583c41f5583338266eb9 (diff)
downloadmeson-d7b401f7d7aec217ee6c18dd44e0978beaf6bd5f.zip
meson-d7b401f7d7aec217ee6c18dd44e0978beaf6bd5f.tar.gz
meson-d7b401f7d7aec217ee6c18dd44e0978beaf6bd5f.tar.bz2
gdbus_codegen: Return 2 targets when docbook is disabled
Also document this behaviour, test it, and fix the return value from the module -- we create one target and return it thrice to the build file
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Gnome-module.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md
index 6de21ff..3db6cc0 100644
--- a/docs/markdown/Gnome-module.md
+++ b/docs/markdown/Gnome-module.md
@@ -242,11 +242,14 @@ files and the second specifies the XML file name.
bundle depending on previous options
* `install_header`: (*Added 0.46.0*) if true, install the header file
-If gdbus-codegen version is greater than 2.55.2 it will return at
-most three targets, one for the souce code, one for the header and
-another one for the files generated with docbook. Otherwise, it
-returns an opaque object containing the source files. Add it to a
-top level target's source list.
+Starting *0.46.0*, this function returns a list of at least two custom targets
+(in order): one for the source code and one for the header. The list will
+contain a third custom target for the generated docbook files if that keyword
+argument is passed.
+
+Earlier versions return a single custom target representing all the outputs.
+Generally, you should just add this list of targets to a top level target's
+source list.
Example: