File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ prepare-installdir.%:
4141# expect to have a line like << master_doc = "bla" or 'bla' >> someplace.
4242
4343MASTER_DOC =$(shell sed -n -e \
44- "s/master_doc.* =[^'\"]* ['\"]\([^'\"]* \) .*/\1/p" conf.py)
44+ "s/master_doc.* =[^'\"]* ['\"]\([^'\"]* \) .*/\1/p" conf.py)
4545
4646# Make sure the PDF we install has a meaningful name and leave the html
4747# alone so internal hyperlinks to the toplevel page remain functional.
@@ -107,9 +107,9 @@ prepare-builddir.%: $(PREPARE_IMAGES)
107107# bits to find it in index.rst.
108108look_for_gnatfuzz :
109109 if [ -e " gnatfuzz/gnatfuzz_part.rst" ]; then \
110- if [ " ` grep " gnatfuzz" index.rst` " = " " ]; then \
111- echo " gnatfuzz/gnatfuzz_part" >> index.rst; \
112- fi ; \
110+ if [ " ` grep " gnatfuzz" index.rst` " = " " ]; then \
111+ sed -i -e ' s/\.\. Optional GNATfuzz part/ gnatfuzz\ /gnatfuzz_part/g ' index.rst; \
112+ fi ; \
113113 fi
114114
115115build.pdf : look_for_gnatfuzz prepare-builddir.pdf
Original file line number Diff line number Diff line change 88
99 gnatcov/gnatcov_part
1010 gnattest/gnattest_part
11+
12+ .. Optional GNATfuzz part
13+
1114 integration/integration_part
1215
1316.. Appendix part - manual numbering
You can’t perform that action at this time.
0 commit comments