]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Add man-pages option like swaywm/sway@ba16f16e4d5a
authorJan Beich <jbeich@FreeBSD.org>
Thu, 4 Mar 2021 00:56:37 +0000 (00:56 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 4 Mar 2021 06:35:15 +0000 (06:35 +0000)
docs/meson.build
meson_options.txt

index 55ba7c8326f375e226b2a96817c98a4c3cab9484..718c24bb8284a2fab581b2477eff0c4329a99ccb 100644 (file)
@@ -1,4 +1,4 @@
-pandoc = find_program('pandoc', required: false)
+pandoc = find_program('pandoc', required: get_option('man-pages'))
 
 sections = ['.1', '-config.5', '-theme.5', '-actions.5']
 
index d34c61704b6a345494058b4a270be3e5f635e80f..d64f510cad05904a6b80f0d0867f8a6d8f77ac25 100644 (file)
@@ -1 +1,2 @@
+option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
 option('xwayland', type: 'feature', value: 'auto', description: 'Enable support for X11 applications')