Loading man/meson.build +55 −50 Original line number Diff line number Diff line if xsltproc.found() and not get_option('disable_doc') want_man = get_option('man') and xsltproc.found() want_html = get_option('html') and xsltproc.found() customman = files('custom-man.xsl') customhtml = files('custom-html.xsl') Loading Loading @@ -45,11 +47,14 @@ if xsltproc.found() and not get_option('disable_doc') endforeach if want_man man = custom_target('man', output: 'man', depends: man_pages, command: ['echo']) endif if want_html html = custom_target('html', output: 'html', depends: html_pages, Loading meson_options.txt +6 −2 Original line number Diff line number Diff line option('disable_doc', type: 'boolean', option('man', type: 'boolean', value: true, description: 'Enable generation of man pages') option('html', type: 'boolean', value: false, description: 'Disable generation of man pages') description: 'Enable generation of HTML man pages') Loading
man/meson.build +55 −50 Original line number Diff line number Diff line if xsltproc.found() and not get_option('disable_doc') want_man = get_option('man') and xsltproc.found() want_html = get_option('html') and xsltproc.found() customman = files('custom-man.xsl') customhtml = files('custom-html.xsl') Loading Loading @@ -45,11 +47,14 @@ if xsltproc.found() and not get_option('disable_doc') endforeach if want_man man = custom_target('man', output: 'man', depends: man_pages, command: ['echo']) endif if want_html html = custom_target('html', output: 'html', depends: html_pages, Loading
meson_options.txt +6 −2 Original line number Diff line number Diff line option('disable_doc', type: 'boolean', option('man', type: 'boolean', value: true, description: 'Enable generation of man pages') option('html', type: 'boolean', value: false, description: 'Disable generation of man pages') description: 'Enable generation of HTML man pages')