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
parent f5d64bbab7
commit 751f0de50e
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,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)