[geocode-glib] Build documentation only when enabled



commit c99908f22390b498b12668825035566cc10f159c
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jul 18 16:03:28 2017 +0100

    Build documentation only when enabled
    
    The documentation should only be built if the `enable-gtk-doc` option is
    enabled.

 meson.build |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 9fc6385..4a83778 100644
--- a/meson.build
+++ b/meson.build
@@ -44,4 +44,7 @@ endif
 subdir('geocode-glib')
 subdir('po')
 subdir('icons')
-subdir('docs')
+
+if get_option('enable-gtk-doc')
+  subdir('docs')
+endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]