diff --git a/gitlab-build.sh b/gitlab-build.sh index 2eaa85e2a63b48c5a1c73ef42fe2fd5d86780389..7800289e18cd64e1ff65354aaa9601aee4ca4613 100755 --- a/gitlab-build.sh +++ b/gitlab-build.sh @@ -38,9 +38,8 @@ HERE echo "**** Updating $PAGES_URL/$VER_DIR ****" - make clean BUILDDIR=public/$VER_DIR - make html BUILDDIR=public/$VER_DIR - make latexpdf BUILDDIR=public/$VER_DIR + sphinx-build -b html . public/$VER_DIR/ + make latexpdf BUILDDIR=public/$VER_DIR/ pdfcpu optimize public/$VER_DIR/latex/beagleboard-docs.pdf mv public/$VER_DIR/latex/beagleboard-docs.pdf public/$VER_DIR/ rm -rf public/$VER_DIR/latex