From 5a01e9678d548fc88a214a5db99f6efa46258ca6 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Mon, 1 May 2017 17:38:42 -0700 Subject: [PATCH] autobuild.sh: add config flag for building doc Change-Id: Iee4bcc24a6e99e76e44ed3b9ecf843045195f64e Signed-off-by: Daniel Verkamp --- autobuild.sh | 2 +- scripts/autotest_common.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/autobuild.sh b/autobuild.sh index c1ecf2dbe..fc6e1177f 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -65,7 +65,7 @@ fi timing_enter doxygen -if hash doxygen; then +if [ $SPDK_BUILD_DOC -eq 1 ] && hash doxygen; then (cd "$rootdir"/doc; $MAKE $MAKEFLAGS) &> "$out"/doxygen.log if hash pdflatex; then (cd "$rootdir"/doc/output/latex && $MAKE $MAKEFLAGS) &>> "$out"/doxygen.log diff --git a/scripts/autotest_common.sh b/scripts/autotest_common.sh index 3269c9f10..543751707 100755 --- a/scripts/autotest_common.sh +++ b/scripts/autotest_common.sh @@ -10,6 +10,7 @@ if [[ ! -z $1 ]]; then fi # Set defaults for missing test config options +: ${SPDK_BUILD_DOC=1}; export SPDK_BUILD_DOC : ${SPDK_TEST_ISCSI=1}; export SPDK_TEST_ISCSI : ${SPDK_TEST_NVME=1}; export SPDK_TEST_NVME : ${SPDK_TEST_NVMF=1}; export SPDK_TEST_NVMF