|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# bundle inserted by Doxygen itself. See discussion at
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2006555.
|
|
|
|
|
#
|
|
|
|
|
# We can enable the Doxygen PDF documentation as a lesser substitute.
|
|
|
|
|
# We can enable the Doxygen PDF documentation as a substitute.
|
|
|
|
|
%bcond_without doc_pdf
|
|
|
|
|
|
|
|
|
|
Name: libfakekey
|
|
|
|
@ -61,10 +61,10 @@ Documentation for the libfakekey library.
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%if %{with doc_pdf}
|
|
|
|
|
# We enable the Doxygen PDF documentation as a lesser substitute. We must
|
|
|
|
|
# enable GENERATE_LATEX and LATEX_BATCHMODE; the rest are precautionary and
|
|
|
|
|
# should already be set as we like them. We also disable GENERATE_HTML, since
|
|
|
|
|
# we will not use it.
|
|
|
|
|
# We enable the Doxygen PDF documentation as a substitute. We must enable
|
|
|
|
|
# GENERATE_LATEX and LATEX_BATCHMODE; the rest are precautionary and should
|
|
|
|
|
# already be set as we like them. We also disable GENERATE_HTML, since we will
|
|
|
|
|
# not use it.
|
|
|
|
|
sed -r -i \
|
|
|
|
|
-e "s/^([[:blank:]]*(GENERATE_LATEX|LATEX_BATCHMODE|USE_PDFLATEX|\
|
|
|
|
|
PDF_HYPERLINKS)[[:blank:]]*=[[:blank:]]*)NO[[:blank:]]*/\1YES/" \
|
|
|
|
|