#$ENV{'TEXINPUTS'}='tex//';
#$ENV{'TEXINPUTS'}='setup//:' . $ENV{'TEXINPUTS'};


system("rm build_output/main.pdf" );
system("rm build_output/main.synctex.gz" );
system("rm main.pdf" );
system("rm main.synctex.gz" );

$pdf_mode = 1;
$pdflatex = 'pdflatex -synctex=1  -aux-directory=build_output -output-directory=build_output -include-directory="./tex" --include-directory="./setup"';

system("cp build_output/main.pdf ." );
system("cp build_output/main.synctex.gz ." );
