Browse Source

Fixed failing build if manpage is disabled

master
Aqua-sama 5 months ago
parent
commit
c4f01f0618
Signed by: Aqua-sama <aqua@iserlohn-fortress.net> GPG Key ID: 5378B8349C1D5ADA
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      configure
  2. 1
    1
      doc/meson.build

+ 1
- 1
configure View File

@@ -22,7 +22,7 @@ def prompt(prompt, default, options=[]):
return v
return default

if __name__ is "__main__":
if __name__ == "__main__":
# build options
build_dir = prompt('build folder', 'build')
build_type = prompt('build type', 'release', ['plain', 'debug', 'debugoptimized', 'release'])

+ 1
- 1
doc/meson.build View File

@@ -1,4 +1,4 @@
asciidoctor = find_program('asciidoctor', required: get_option('manpage'))
asciidoctor = find_program('asciidoctor', required: get_option('manpage'), disabler: true)

custom_target('manpage.7',
# list depend_files so the output can be updated if any of them are changed

Loading…
Cancel
Save