summaryrefslogtreecommitdiff
path: root/doc/meson.build
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2020-12-26 18:40:51 +0100
committerJens Georg <mail@jensge.org>2020-12-26 18:45:59 +0100
commitee68c4597f3f50aa38251f0c74452f046b5e4782 (patch)
tree03b47806c9f7d5ff762707e0ca194667c7805f24 /doc/meson.build
parent774475787e7cf59b8d10a104f12904560bf31b88 (diff)
downloadrygel-ee68c4597f3f50aa38251f0c74452f046b5e4782.tar.gz
build: Add man_pages build options
Check if xsltproc runs succesfully and fail otherwise Fixes #192
Diffstat (limited to 'doc/meson.build')
-rw-r--r--doc/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 41c733e5..91c08fae 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -1,2 +1,5 @@
-subdir('man')
+if get_option('man_pages')
+ subdir('man')
+endif
+
subdir('reference')