Tweak a spec file comment

This commit is contained in:
Benjamin A. Beasley 2021-11-26 21:37:00 -05:00
parent 03307554f4
commit 44cd7b92bc

View File

@ -10,7 +10,7 @@
# bundle inserted by Doxygen itself. See discussion at # bundle inserted by Doxygen itself. See discussion at
# https://bugzilla.redhat.com/show_bug.cgi?id=2006555. # 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.
# #
# We still generate the HTML documentation, but strip out all the JavaScript # We still generate the HTML documentation, but strip out all the JavaScript
# that causes policy issues. This degrades it in the browser, but is sufficient # that causes policy issues. This degrades it in the browser, but is sufficient
@ -128,9 +128,9 @@ rm -rf untracked/docs/reference/html
rm untracked/docs/reference/cairomm-%{apiver}.tag \ rm untracked/docs/reference/cairomm-%{apiver}.tag \
untracked/docs/reference/cairomm-%{apiver}.devhelp2 untracked/docs/reference/cairomm-%{apiver}.devhelp2
%if %{with doc_pdf} %if %{with doc_pdf}
# We enable the Doxygen PDF documentation as a lesser substitute. We must # We enable the Doxygen PDF documentation as a substitute. We must enable
# enable GENERATE_LATEX and LATEX_BATCHMODE; the rest are precautionary and # GENERATE_LATEX and LATEX_BATCHMODE; the rest are precautionary and should
# should already be set as we like them. # already be set as we like them.
sed -r -i \ sed -r -i \
-e "s/^([[:blank:]]*(GENERATE_LATEX|LATEX_BATCHMODE|USE_PDFLATEX|\ -e "s/^([[:blank:]]*(GENERATE_LATEX|LATEX_BATCHMODE|USE_PDFLATEX|\
PDF_HYPERLINKS)[[:blank:]]*=[[:blank:]]*)NO[[:blank:]]*/\1YES/" \ PDF_HYPERLINKS)[[:blank:]]*=[[:blank:]]*)NO[[:blank:]]*/\1YES/" \