summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-03-17 20:13:31 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-03-17 20:13:31 (GMT)
commitca3fb0a6df32b732c6b390b937f3ada001cb1e7a (patch)
treef846ab2e854c959c8e76153065efd17e01d7a02b /src/latexgen.cpp
parentecbd3e379768b13e0a62013faca341cd8c3022c7 (diff)
downloadDoxygen-ca3fb0a6df32b732c6b390b937f3ada001cb1e7a.zip
Doxygen-ca3fb0a6df32b732c6b390b937f3ada001cb1e7a.tar.gz
Doxygen-ca3fb0a6df32b732c6b390b937f3ada001cb1e7a.tar.bz2
Release-1.2.14-20020317
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index c02428c..f851e19 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -147,6 +147,10 @@ void LatexGenerator::init()
err("Could not open file %s for writing\n",fileName.data());
exit(1);
}
+ // inserted by KONNO Akihisa <konno@researchers.jp> 2002-03-05
+ QCString latex_command = Config_getString("LATEX_CMD_NAME");
+ QCString mkidx_command = Config_getString("MAKEINDEX_CMD_NAME");
+ // end insertion by KONNO Akihisa <konno@researchers.jp> 2002-03-05
QTextStream t(&file);
t << "all: refman.dvi" << endl
<< endl
@@ -194,16 +198,16 @@ void LatexGenerator::init()
<< endl
<< "refman.dvi: refman.tex doxygen.sty" << endl
<< "\techo \"Running latex...\"" << endl
- << "\tlatex refman.tex" << endl
+ << "\t" << latex_command << " refman.tex" << endl
<< "\techo \"Running makeindex...\"" << endl
- << "\tmakeindex refman.idx" << endl
+ << "\t" << mkidx_command << " refman.idx" << endl
<< "\techo \"Rerunning latex....\"" << endl
- << "\tlatex refman.tex" << endl
+ << "\t" << latex_command << " refman.tex" << endl
<< "\tlatex_count=5 ; \\" << endl
<< "\twhile egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\\" << endl
<< "\t do \\" << endl
<< "\t echo \"Rerunning latex....\" ;\\" << endl
- << "\t latex refman.tex ;\\" << endl
+ << "\t " << latex_command << " refman.tex ;\\" << endl
<< "\t latex_count=`expr $$latex_count - 1` ;\\" << endl
<< "\t done" << endl << endl
<< "clean:" << endl