From: Aleš Mrázek Date: Thu, 29 Sep 2022 08:40:36 +0000 (+0200) Subject: manager: doc: JSON Schema install fix X-Git-Tag: v6.0.0a1~12^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd9f3de06201502b05e68328a279fc0ffaf54ee;p=thirdparty%2Fknot-resolver.git manager: doc: JSON Schema install fix --- diff --git a/doc/meson.build b/doc/meson.build index 482c4701a..7595ef805 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -81,29 +81,14 @@ if get_option('doc') == 'enabled' endif -python3 = find_program('python3') -json_schema = custom_target( - 'doc-json-schema', - command: [python3, '-m', 'manager.knot_resolver_manager.cli', 'schema', 'docs/_static/config-schema.json'], - input: [ - - ], - output: [ - 'docs/_static/config-schema.json' - ] -) - - make_doc = find_program('../scripts/make-doc.sh') run_target( 'doc', - command: make_doc, - depends: [json_schema], + command: make_doc ) run_target( 'doc-strict', - command: [make_doc, '-W'], - depends: [json_schema], + command: [make_doc, '-W'] )