summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-12-24 14:52:02 +0100
committerThomas Haller <thaller@redhat.com>2018-01-02 10:44:15 +0100
commite62133b69c2e1c074b2044c313b68a63cddf7204 (patch)
tree28dd2f6f27fd20df7d53b0b98340d41b74fdcd26 /docs
parent2066e41a1fd9109037b17d2e1ee5ba933aa3c74b (diff)
build: Workaround for gtkdoc dependencies
gtkdoc uses some custom generated targets as content files. However, there are still two problem. The first is that gtkdoc does not support targets which are not strings. This is being fixed in the following issue: https://github.com/mesonbuild/meson/pull/2806 The second issue is that the gtkdoc function produces a target which is triggered at install time. This makes the dependencies generation to not be triggered. This patch uses a workaround for that second issue. https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00079.html
Diffstat (limited to 'docs')
-rw-r--r--docs/api/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/api/meson.build b/docs/api/meson.build
index 0560502d0..7b9166a32 100644
--- a/docs/api/meson.build
+++ b/docs/api/meson.build
@@ -7,7 +7,9 @@ settings_xml = custom_target(
output,
input: nm_settings_docs,
output: output,
- command: [xsltproc, '--output', '@OUTPUT@', join_paths(meson.current_source_dir(), settings + '.xsl'), '@INPUT@']
+ command: [xsltproc, '--output', '@OUTPUT@', join_paths(meson.current_source_dir(), settings + '.xsl'), '@INPUT@'],
+ # FIXME: there is no target depending on this, so it will not be built
+ build_by_default: true
)
configure_file(