sphinx-pre-install (6a5d7320fb75af071cde628e82ebc938575a2fd6) sphinx-pre-install (02bba8ca90b1877ae47400c31002ceb498b0dd9f)
1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0-or-later
3use strict;
4
5# Copyright (c) 2017-2020 Mauro Carvalho Chehab <mchehab@kernel.org>
6#
7
8my $prefix = "./";

--- 888 unchanged lines hidden (view full) ---

897 add_package("python-sphinx", 0);
898 check_python_module("sphinx_rtd_theme", 1);
899
900 check_distros();
901
902 $need = $old_need;
903 $optional = $old_optional;
904
1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0-or-later
3use strict;
4
5# Copyright (c) 2017-2020 Mauro Carvalho Chehab <mchehab@kernel.org>
6#
7
8my $prefix = "./";

--- 888 unchanged lines hidden (view full) ---

897 add_package("python-sphinx", 0);
898 check_python_module("sphinx_rtd_theme", 1);
899
900 check_distros();
901
902 $need = $old_need;
903 $optional = $old_optional;
904
905 printf "\n Please note that Sphinx >= 3.0 will currently produce false-positive\n";
906 printf " warning when the same name is used for more than one type (functions,\n";
907 printf " structs, enums,...). This is known Sphinx bug. For more details, see:\n";
908 printf "\thttps://github.com/sphinx-doc/sphinx/pull/8313\n";
905}
906
907sub check_needs()
908{
909 # Check if Sphinx is already accessible from current environment
910 check_sphinx();
911
912 if ($system_release) {

--- 155 unchanged lines hidden ---
909}
910
911sub check_needs()
912{
913 # Check if Sphinx is already accessible from current environment
914 check_sphinx();
915
916 if ($system_release) {

--- 155 unchanged lines hidden ---