[libcloudproviders: 2/3] build: Make doc generation optional
- From: Gitlab System User <gitlab src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libcloudproviders: 2/3] build: Make doc generation optional
- Date: Fri, 1 Sep 2017 20:36:23 +0000 (UTC)
commit 4a4af479f24f3bbbd583d1583cb6625fd1eab18f
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Sep 1 22:21:03 2017 +0200
build: Make doc generation optional
meson.build | 4 +++-
meson_options.txt | 3 +++
2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index a7f142a..3499270 100644
--- a/meson.build
+++ b/meson.build
@@ -25,4 +25,6 @@ conf.set_quoted ('GETTEXT_PACKAGE', 'cloudproviders')
subdir ('src')
subdir ('test')
-subdir ('docs/reference')
+if get_option ('enable-gtk-doc')
+ subdir ('docs/reference')
+endif
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..12da031
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,3 @@
+option ('enable-gtk-doc',
+ type: 'boolean',
+ value: false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]