Run make clean to prevent warning messages (#1742)
* Run make clean to prevent warning messages * Don't delete temporary files after completion
This commit is contained in:
parent
621a4d637d
commit
2ce1b388c9
@ -9,7 +9,7 @@
|
||||
# run-doc-tests
|
||||
#
|
||||
# Notes:
|
||||
# Requires sphinx, git, mercurial, and subversion.
|
||||
# Requires sphinx, graphviz, git, mercurial, and subversion.
|
||||
#
|
||||
|
||||
QA_DIR="$(dirname "$0")"
|
||||
@ -36,9 +36,7 @@ export PATH="$SPACK_ROOT/bin:$PATH"
|
||||
# Allows script to be run from anywhere
|
||||
cd "$DOC_DIR"
|
||||
|
||||
# Cleanup temporary files upon exit or when script is killed
|
||||
trap 'make clean --silent' EXIT SIGINT SIGTERM
|
||||
|
||||
# Treat warnings as fatal errors
|
||||
make clean --silent
|
||||
make SPHINXOPTS=-W
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user