Add separate doc-dev dep list for ubuntu 22.04

Issue: #IAQMLZ

Signed-off-by: Denis Silakov <silakov.denis@huawei.com>
This commit is contained in:
Denis Silakov 2024-09-10 23:20:00 +03:00
parent 4f57a13c24
commit fc5759f4e2
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Dependencies for developing documentation
python3-pip
python3-setuptools
python3=3.10*
texlive-full

View File

@ -482,7 +482,11 @@ if [[ "$INSTALL_CROSS_LIBS" == "yes" ]]; then
fi
if [[ "x$INSTALL_DOC_DEV" == "xyes" ]]; then
install_dep "$SCRIPT_DIR/dep-lists/ubuntu-doc-dev"
if [[ -f "$SCRIPT_DIR/dep-lists/$UBUNTU_NAME-doc-dev" ]] ; then
install_dep "$SCRIPT_DIR/dep-lists/$UBUNTU_NAME-doc-dev"
else
install_dep "$SCRIPT_DIR/dep-lists/ubuntu-doc-dev"
fi
install_pip_dep "${SCRIPT_DIR}/dep-lists/requirements-doc-dev"
fi