Browse Source

Fixed failing build if manpage is disabled

Aqua-sama 1 month 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=[]):
22 22
         return v
23 23
     return default
24 24
 
25
-if __name__ is "__main__":
25
+if __name__ == "__main__":
26 26
     # build options
27 27
     build_dir = prompt('build folder', 'build')
28 28
     build_type = prompt('build type', 'release', ['plain', 'debug', 'debugoptimized', 'release'])

+ 1
- 1
doc/meson.build View File

@@ -1,4 +1,4 @@
1
-asciidoctor = find_program('asciidoctor', required: get_option('manpage'))
1
+asciidoctor = find_program('asciidoctor', required: get_option('manpage'), disabler: true)
2 2
 
3 3
 custom_target('manpage.7',
4 4
     # list depend_files so the output can be updated if any of them are changed

Loading…
Cancel
Save