Skip to content
Snippets Groups Projects
Commit 2ce1b388 authored by Adam J. Stewart's avatar Adam J. Stewart Committed by Todd Gamblin
Browse files

Run make clean to prevent warning messages (#1742)

* Run make clean to prevent warning messages

* Don't delete temporary files after completion
parent 621a4d63
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# run-doc-tests # run-doc-tests
# #
# Notes: # Notes:
# Requires sphinx, git, mercurial, and subversion. # Requires sphinx, graphviz, git, mercurial, and subversion.
# #
QA_DIR="$(dirname "$0")" QA_DIR="$(dirname "$0")"
...@@ -36,9 +36,7 @@ export PATH="$SPACK_ROOT/bin:$PATH" ...@@ -36,9 +36,7 @@ export PATH="$SPACK_ROOT/bin:$PATH"
# Allows script to be run from anywhere # Allows script to be run from anywhere
cd "$DOC_DIR" 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 # Treat warnings as fatal errors
make clean --silent
make SPHINXOPTS=-W make SPHINXOPTS=-W
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment