@ -412,19 +412,19 @@ if test "$configured_kdcrundir" != %{_localstatedir}/run/krb5kdc ; then
@@ -412,19 +412,19 @@ if test "$configured_kdcrundir" != %{_localstatedir}/run/krb5kdc ; then
fi
# Build the docs.
make -C src/doc paths.py version.py
cp src/doc/paths.py doc/
mkdir -p build-man build-html build-pdf
sphinx-build -a -b man -t pathsubs doc build-man
sphinx-build -a -b html -t pathsubs doc build-html
rm -fr build-html/_sources
sphinx-build -a -b latex -t pathsubs doc build-pdf
#make -C src/doc paths.py version.py
#cp src/doc/paths.py doc/
#mkdir -p build-man build-html build-pdf
#sphinx-build -a -b man -t pathsubs doc build-man
#sphinx-build -a -b html -t pathsubs doc build-html
#rm -fr build-html/_sources
#sphinx-build -a -b latex -t pathsubs doc build-pdf
# Build the PDFs if we didn't have pre-built ones.
for pdf in admin appdev basic build plugindev user ; do
test -s build-pdf/$pdf.pdf || make -C build-pdf
done
#for pdf in admin appdev basic build plugindev user ; do
# test -s build-pdf/$pdf.pdf || make -C build-pdf
#done
# new krb5-%{version}-pdf
tar -cf "krb5-%{version}-pdfs.tar.new" build-pdf/*.pdf