autogen.sh: Don't generated Doxygen docs anymore

(cherry picked from commit e9be74f5b1)
This commit is contained in:
Lasse Collin 2024-04-19 15:09:48 +03:00
parent b04c16f9a5
commit 3a2fc62f59
1 changed files with 3 additions and 15 deletions

View File

@ -17,14 +17,12 @@ ${AUTOCONF:-autoconf}
${AUTOHEADER:-autoheader}
${AUTOMAKE:-automake} -acf --foreign
# Generate the translated man pages and the doxygen documentation if the
# "po4a" and "doxygen" tools are available.
# Generate the translated man pages if the "po4a" tool is available.
# This is *NOT* done by "autoreconf -fi" or when "make" is run.
# Pass --no-po4a or --no-doxygen to this script to skip these steps.
# It can be useful when you know that po4a or doxygen aren't available and
# Pass --no-po4a o this script to skip this step.
# It can be useful when you know that po4a isn't available and
# don't want autogen.sh to exit with non-zero exit status.
generate_po4a="y"
generate_doxygen="y"
for arg in "$@"
do
@ -32,10 +30,6 @@ do
"--no-po4a")
generate_po4a="n"
;;
"--no-doxygen")
generate_doxygen="n"
;;
esac
done
@ -45,10 +39,4 @@ if test "$generate_po4a" != "n"; then
cd ..
fi
if test "$generate_doxygen" != "n"; then
cd doxygen
sh update-doxygen
cd ..
fi
exit 0