Commit fc386eb1 authored by jannick0's avatar jannick0

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.
parent 64f77432
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment