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