Drop Doxygen-generated HTML documentation.

See https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion.
This commit is contained in:
Benjamin A. Beasley 2021-09-28 17:12:16 -04:00
parent e713df03f6
commit 47957e0d0a

View File

@ -39,12 +39,18 @@ applications that use %{name}.
%package doc
Summary: Documentation for %{name}
BuildRequires: doxygen
# Explicit BR required for EPEL8:
BuildRequires: graphviz
# Doxygen HTML help is not suitable for packaging due to a minified JavaScript
# bundle inserted by Doxygen itself. See discussion at
# https://bugzilla.redhat.com/show_bug.cgi?id=2006555.
#
# Normally, we would enable the Doxygen PDF documentation as a lesser
# substitute, but building it fails with:
# ! TeX capacity exceeded, sorry [pool size=5905151].
%description doc
Documentation for %{name}.
Documentation for xalan-c. See https://apache.github.io/xalan-c/ for full HTML
documentation.
%prep
@ -67,12 +73,6 @@ COMMONARGS="-plinux -cgcc -xg++ -minmem"
# Parallel build does not work
%global _smp_mflags %{nil}
%make_build all tests
pushd xdocs
env LD_LIBRARY_PATH="${XALANCROOT}/lib" \
PATH="${PATH}:${XALANCROOT}/bin" \
./make-apiDocs.sh
popd
mv -v build/docs/xalan-c build/docs/html
%install
@ -112,7 +112,6 @@ env LD_LIBRARY_PATH=$PWD/lib ./bin/testXPath
%doc README
%doc readme.html
%doc samples
%doc build/docs/html
%changelog