Blame doxygen-6f6b3be36c51a0e7436538d8b99a7e3350a6c3a4-typo_in_generated_Makefile_for_LaTex.patch

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