mirror of https://git.tukaani.org/xz.git
autogen.sh: Don't generated Doxygen docs anymore
This commit is contained in:
parent
252aa1d67b
commit
e9be74f5b1
18
autogen.sh
18
autogen.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue