aboutsummaryrefslogtreecommitdiff
path: root/devel/dconf/files/patch-docs_meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dconf/files/patch-docs_meson.build')
-rw-r--r--devel/dconf/files/patch-docs_meson.build34
1 files changed, 34 insertions, 0 deletions
diff --git a/devel/dconf/files/patch-docs_meson.build b/devel/dconf/files/patch-docs_meson.build
new file mode 100644
index 000000000000..c6642d8cd937
--- /dev/null
+++ b/devel/dconf/files/patch-docs_meson.build
@@ -0,0 +1,34 @@
+--- docs/meson.build.orig 2018-05-12 08:26:06.064672000 +0200
++++ docs/meson.build 2018-05-12 08:27:30.954842000 +0200
+@@ -1,16 +1,18 @@
+-gnome.gtkdoc(
+- meson.project_name(),
+- main_xml: meson.project_name() + '-docs.xml',
+- src_dir: [
+- common_inc,
+- client_inc
+- ],
+- dependencies: libdconf_dep,
+- scan_args: '--rebuild-types',
+- gobject_typesfile: meson.project_name() + '.types',
+- install: true,
+- install_dir: join_paths(dconf_datadir, 'gtk-doc', 'html', meson.project_name())
+-)
++if get_option('enable-gtk-doc')
++ gnome.gtkdoc(
++ meson.project_name(),
++ main_xml: meson.project_name() + '-docs.xml',
++ src_dir: [
++ common_inc,
++ client_inc
++ ],
++ dependencies: libdconf_dep,
++ scan_args: '--rebuild-types',
++ gobject_typesfile: meson.project_name() + '.types',
++ install: true,
++ install_dir: join_paths(dconf_datadir, 'gtk-doc', 'html', meson.project_name())
++ )
++endif
+
+ if get_option('enable-man')
+ xsltproc = find_program('xsltproc', required: false)