commit 6f6b3be36c51a0e7436538d8b99a7e3350a6c3a4
Author: František Dvořák <valtri@civ.zcu.cz>
Date: Mon Jul 25 21:40:19 2022 +0200
Fix typo in generated Makefile for LaTex
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index d3ad3bd3..c5f436ce 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -337,7 +337,7 @@ static void writeLatexMakefile()
}
t << "\techo \"Rerunning latex....\"\n"
<< "\t$(LATEX_CMD) $(MANUAL_FILE).tex\n"
- << "\tlatex_count=%(LATEX_COUNT) ; \\\n"
+ << "\tlatex_count=$(LATEX_COUNT) ; \\\n"
<< "\twhile egrep -s 'Rerun (LaTeX|to get cross-references right|to get bibliographical references right)' $(MANUAL_FILE).log && [ $$latex_count -gt 0 ] ;\\\n"
<< "\t do \\\n"
<< "\t echo \"Rerunning latex....\" ;\\\n"