Skip to content

Commit d68f722

Browse files
committed
Insert the GNATfuzz documentation earlier
This means it appears before the appendix, and before the section about integrating GNATtest with GNATfuzz. Fixes eng/das/fuzz/gnatfuzz#663
1 parent 9c0b5dd commit d68f722

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

doc/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ prepare-installdir.%:
4141
# expect to have a line like << master_doc = "bla" or 'bla' >> someplace.
4242

4343
MASTER_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.
108108
look_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

115115
build.pdf: look_for_gnatfuzz prepare-builddir.pdf

doc/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
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

0 commit comments

Comments
 (0)