From ace2fe525a66462bf7d68be2962433cf0fd0416b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 14 Oct 2015 11:41:27 +0200 Subject: [PATCH] Sync doc-tools-build-rst with openstack-manuals Import current version from openstack-manuals which removes .buildinfo files as those are not needed for publication. Change-Id: I37ba1422888b8551c251b19f5b3e5498482570dc --- bin/doc-tools-build-rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/doc-tools-build-rst b/bin/doc-tools-build-rst index 9cc9be80..e102b155 100755 --- a/bin/doc-tools-build-rst +++ b/bin/doc-tools-build-rst @@ -92,12 +92,12 @@ if [ "$LINKCHECK" = "1" ] ; then # Show sphinx-build invocation for easy reproduction set -x sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b linkcheck \ - $TAG_OPT $DIRECTORY/source $BUILD_DIR + $TAG_OPT $DIRECTORY/source $BUILD_DIR set +x else # Show sphinx-build invocation for easy reproduction set -x - sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b html \ + sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b html \ $TAG_OPT $DIRECTORY/source $BUILD_DIR set +x @@ -105,5 +105,7 @@ else if [ "$TARGET" != "" ] ; then mkdir -p publish-docs/$TARGET rsync -a $BUILD_DIR/ publish-docs/$TARGET/ + # Remove unneeded build artefact + rm -f publish-docs/$TARGET/.buildinfo fi fi