mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-13 17:36:02 +00:00
Running 'make html' in doc/ when doc.log is missing or empty gives the following error if sphinx-build doesn't write anything on stdout/stderr: Error in ./scripts/filter-doc-log.sh: logfile "doc.log" not found. Makefile:84: recipe for target ”html” failed make: *** [html] Error 1 The problem is that scripts/filter-doc-log.sh tests for the existence of the log file with [ -s ${LOG_FILE} ], which requires it to be nonempty. Fix it by using -e instead, which only checks if the log file exists. scripts/filter-known-issues.py ($KI_SCRIPT) seems to be able to deal with empty files (and runs quickly). Fixes #6854 Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> |
||
---|---|---|
.. | ||
genrest | ||
extract_content.py | ||
filter-doc-log.sh |