diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2019-02-24 14:13:07 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2019-02-24 14:13:07 +0200 |
commit | c4f01f06187b96bb2e9d215da3954fac3ce1646a (patch) | |
tree | 825f99cd214779f7a58a7475f0543fdfafd49252 | |
parent | Add WIP Python REPL interface (diff) | |
download | smolbote-c4f01f06187b96bb2e9d215da3954fac3ce1646a.tar.xz |
Fixed failing build if manpage is disabled
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | doc/meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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']) diff --git a/doc/meson.build b/doc/meson.build index 868b8d5..26175ce 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -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 |