aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2019-11-05 21:54:11 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2019-11-05 21:54:11 +0200
commit9d62150b40ca9cb28c8150aacbaf6575831b5329 (patch)
tree16f295649792681ab8c94cf5b20d12850a462e9a /doc
parentMove lib/webprofile into src/webengine (diff)
downloadsmolbote-9d62150b40ca9cb28c8150aacbaf6575831b5329.tar.xz
Fix manpages not disabled when disabled by meson
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 95ca486..26e5d6c 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -1,5 +1,7 @@
scdoc = find_program('scdoc', required: get_option('manpage'), disabler: true)
-sh = find_program('sh', required: get_option('manpage'), native: true, disabler: true)
+if scdoc.found()
+
+sh = find_program('sh', required: true, native: true, disabler: true)
man_files = ['man/smolbote.1.scd', 'man/smolbote.5.scd']
@@ -28,3 +30,4 @@ foreach input : man_files
)
endforeach
+endif # manpage