From 2ce1b388c955d2b0648afcbab332d3f9801cacab Mon Sep 17 00:00:00 2001
From: "Adam J. Stewart" <ajstewart426@gmail.com>
Date: Sun, 2 Oct 2016 20:51:09 -0500
Subject: Run make clean to prevent warning messages (#1742)

* Run make clean to prevent warning messages

* Don't delete temporary files after completion
---
 share/spack/qa/run-doc-tests | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'share')

diff --git a/share/spack/qa/run-doc-tests b/share/spack/qa/run-doc-tests
index 67701167aa..dbf46c71aa 100755
--- a/share/spack/qa/run-doc-tests
+++ b/share/spack/qa/run-doc-tests
@@ -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
 
-- 
cgit v1.2.3-70-g09d2