doc: compile twice the documentation to update the TOC

If you compile once the documentation, the table of contents is empty
You have to compile twice to fill the table of contents.
This commit is contained in:
Sebastien BLANCHET 2021-04-08 18:51:17 +02:00 committed by Florian Pose
parent 5c78c92c22
commit 0bc4b887db
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ pdf: $(EXT_FILES)
$(MAKE) -C images
$(MAKE) -C graphs
pdflatex $(LATEX_OPTIONS) $(FILE)
# compile twice to update the table of contents
pdflatex $(LATEX_OPTIONS) $(FILE)
index:
makeindex $(FILE)