[nautilus] meson: make doc generation opt-in
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] meson: make doc generation opt-in
- Date: Wed, 1 Mar 2017 16:15:35 +0000 (UTC)
commit 2c22594624f04d781e192b35412e2d20e9a04aba
Author: Ernestas Kulik <ernestask src gnome org>
Date: Wed Mar 1 18:08:50 2017 +0200
meson: make doc generation opt-in
Since Continuous does not have GTK-Doc and jhbuild users don’t usually
care about generating documentation, it makes sense to disable it by
default.
https://bugzilla.gnome.org/show_bug.cgi?id=779420
meson.build | 5 ++++-
meson_options.txt | 3 +++
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 25910c7..d8ae100 100644
--- a/meson.build
+++ b/meson.build
@@ -116,7 +116,10 @@ subdir ('src')
subdir ('test')
subdir ('data')
subdir ('po')
-subdir ('docs')
+
+if get_option ('enable-gtk-doc')
+ subdir ('docs')
+endif
if get_option ('enable-desktop')
subdir ('nautilus-desktop')
diff --git a/meson_options.txt b/meson_options.txt
index 9025527..ac4b74a 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -24,3 +24,6 @@ option ('enable-packagekit',
option ('enable-tracker',
type: 'boolean',
value: true)
+option ('enable-gtk-doc',
+ type: 'boolean',
+ value: false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]