doc: redirect doc generation output using tee
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
92d3d367e3
commit
706ac7fe07
2 changed files with 4 additions and 4 deletions
|
@ -41,8 +41,8 @@ build:
|
|||
echo "Building a Pull Request";
|
||||
echo "- Building Documentation";
|
||||
echo "Commit range:" ${COMMIT_RANGE}
|
||||
make htmldocs > doc.warnings 2>&1;
|
||||
if [ -s doc.warnings ]; then
|
||||
make htmldocs
|
||||
if [ -s doc/doc.warnings ]; then
|
||||
echo " => New documentation warnings/errors";
|
||||
fi;
|
||||
echo "- Verify commit message, coding style, doc build";
|
||||
|
|
|
@ -79,8 +79,8 @@ kconfig: scripts/genrest/genrest.py
|
|||
prep: doxy content kconfig
|
||||
|
||||
html: content kconfig
|
||||
$(Q)$(SPHINXBUILD) -t $(DOC_TAG) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html > doc.log 2>&1;
|
||||
$(Q)./scripts/filter-doc-log.sh doc.log
|
||||
$(Q)$(SPHINXBUILD) -t $(DOC_TAG) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html 2>&1 | tee doc.log;
|
||||
$(Q)./scripts/filter-doc-log.sh doc.log > doc.warnings 2>&1;
|
||||
@rm -rf samples
|
||||
@rm -rf boards
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue