diff options
Diffstat (limited to 'scripts/build-packages.sh')
-rw-r--r-- | scripts/build-packages.sh | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh index 6ec32c0a7..76e76a385 100644 --- a/scripts/build-packages.sh +++ b/scripts/build-packages.sh @@ -58,7 +58,8 @@ DEPS_UBUNTU_NOVERSION="libparc-dev \ vpp-plugin-core \ libyang \ sysrepo \ - python3-ply" + python3-ply \ + python3-pip" DEPS_CMAKE_UBUNTU="curl" @@ -216,6 +217,28 @@ build_package() { echo "*******************************************************************" } +build_doc() { + setup + + echo "*******************************************************************" + echo "********************* STARTING DOC BUILD **************************" + echo "*******************************************************************" + + # Make the package + python3 -m pip install --user virtualenv + python3 -m virtualenv env + source env/bin/activate + pip install -r docs/etc/requirements.txt + cd docs + make html + + popd + + echo "*******************************************************************" + echo "***************** BUILD COMPLETED SUCCESSFULLY *******************" + echo "*******************************************************************" +} + build_package exit 0 |