summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjannick0 <jannick0@users.noreply.github.com>2014-05-21 13:08:21 (GMT)
committerjannick0 <jannick0@users.noreply.github.com>2014-05-21 13:08:21 (GMT)
commitfc386eb107958b4f3214aa2c0c6caf2a91c83177 (patch)
tree5ed7ef57cc0876afeb6c74cb579f106ed3573309
parent64f774325035a6e789bfa0087555c7bcb1f01293 (diff)
downloadDoxygen-fc386eb107958b4f3214aa2c0c6caf2a91c83177.zip
Doxygen-fc386eb107958b4f3214aa2c0c6caf2a91c83177.tar.gz
Doxygen-fc386eb107958b4f3214aa2c0c6caf2a91c83177.tar.bz2
make.bat: change current directory
First thing after calling make.bat: switch current directory to folder make.bat resides in. Purpose: easy external call of make.bat. /J.
-rw-r--r--src/latexgen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index a714539..a9e3468 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -186,6 +186,7 @@ static void writeMakeBat()
exit(1);
}
FTextStream t(&file);
+ t << "cd %~p0\n\n"; // switch current directory with make.bat (for external calls of make.bat)
t << "del /s /f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf\n\n";
if (!Config_getBool("USE_PDFLATEX")) // use plain old latex
{