Add man-pages option like swaywm/sway@ba16f16e4d

This commit is contained in:
Jan Beich 2019-01-24 21:14:13 +00:00 committed by emersion
parent 3d94a60924
commit c163f0a0c7
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ crypt = cc.find_library('crypt', required: not libpam.found())
math = cc.find_library('m') math = cc.find_library('m')
git = find_program('git', required: false) git = find_program('git', required: false)
scdoc = find_program('scdoc', required: false) scdoc = find_program('scdoc', required: get_option('man-pages'))
wayland_scanner = find_program('wayland-scanner') wayland_scanner = find_program('wayland-scanner')
version = get_option('swaylock-version') version = get_option('swaylock-version')

View File

@ -1,6 +1,7 @@
option('swaylock-version', type : 'string', description: 'The version string reported in `swaylock --version`') option('swaylock-version', type : 'string', description: 'The version string reported in `swaylock --version`')
option('pam', type: 'feature', value: 'auto', description: 'Use PAM instead of shadow') option('pam', type: 'feature', value: 'auto', description: 'Use PAM instead of shadow')
option('gdk-pixbuf', type: 'feature', value: 'auto', description: 'Enable support for more image formats') option('gdk-pixbuf', type: 'feature', value: 'auto', description: 'Enable support for more image formats')
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
option('zsh-completions', type: 'boolean', value: true, description: 'Install zsh shell completions') option('zsh-completions', type: 'boolean', value: true, description: 'Install zsh shell completions')
option('bash-completions', type: 'boolean', value: true, description: 'Install bash shell completions') option('bash-completions', type: 'boolean', value: true, description: 'Install bash shell completions')
option('fish-completions', type: 'boolean', value: true, description: 'Install fish shell completions') option('fish-completions', type: 'boolean', value: true, description: 'Install fish shell completions')