Make FAIL_WARN a boolean

This commit is contained in:
Kovid Goyal
2022-01-23 10:12:11 +05:30
parent 78cd83845f
commit e914f0df8e
3 changed files with 8 additions and 4 deletions

View File

@@ -79,11 +79,11 @@ def run_tag(args: Any) -> None:
def run_man(args: Any) -> None:
call('make FAIL_WARN=-W man', cwd=docs_dir)
call('make FAIL_WARN=1 man', cwd=docs_dir)
def run_html(args: Any) -> None:
call('make FAIL_WARN=-W "OPTS=-D analytics_id=UA-20736318-2" dirhtml', cwd=docs_dir)
call('make FAIL_WARN=1 "OPTS=-D analytics_id=UA-20736318-2" dirhtml', cwd=docs_dir)
add_old_redirects('docs/_build/dirhtml')