From 007f8b5ec1b066161f717cf925323aac85b69ca1 Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Thu, 6 Jul 2023 12:03:12 +0200 Subject: [PATCH] Meson: Auth manpages --- meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meson.build b/meson.build index 16c02212a3..e9a4ca5c78 100644 --- a/meson.build +++ b/meson.build @@ -58,6 +58,14 @@ if not fs.exists('pdns/api-swagger.json') and not python_have_venv endif # TODO Generate api-swagger.json +# Manpages +if not fs.exists('docs/pdns_server.1') and not python_have_venv + warning('Python3 and/or its venv module is not available and ' + + '`docs/pdns_server.1` cannot be found. ' + + 'Documentation will not be built.') +endif +# TODO Generate pdns_server.1 manpage + # Sqlite3 opt_sqlite3 = get_option('sqlite3') # TODO Use Sqlite3 -- 2.47.2