summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-05-10 14:21:53 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-10 14:21:53 +0100
commitb6afe98e4cde3fa14a7a33c6edf6a97e05a0ae4c (patch)
tree48ca9b9663cae55df27646433f0ff1a5579d913d /docs
parentb2348e74693c583e89d7243ad11fa9be680fc503 (diff)
downloadappstream-glib-b6afe98e4cde3fa14a7a33c6edf6a97e05a0ae4c.tar.gz
build: Conditionally generate the API reference
The API reference is not needed on autobuilders.
Diffstat (limited to 'docs')
-rw-r--r--docs/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/meson.build b/docs/meson.build
index dc2bb41..7827d92 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -1 +1,3 @@
-subdir('api')
+if get_option('enable-gtk-doc')
+ subdir('api')
+endif