From c4f01f06187b96bb2e9d215da3954fac3ce1646a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 24 Feb 2019 14:13:07 +0200 Subject: Fixed failing build if manpage is disabled --- configure | 2 +- doc/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a619ff6..40e7fd4 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.1