summaryrefslogtreecommitdiffstats
path: root/.latexmkrc
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-02-07 17:02:13 -0600
committerToby Vincent <tobyv13@gmail.com>2023-02-07 17:02:13 -0600
commitceb45aaa5d75a2e5b8f52381382b8a6f8d2c1941 (patch)
tree3b1420059779cc34a813e5f32523b76ac3a9bc56 /.latexmkrc
parent5a4705ef599cd771df38861201617c570bd86313 (diff)
ci: fix build and add artifacts tarball
Diffstat (limited to '.latexmkrc')
-rw-r--r--.latexmkrc11
1 files changed, 3 insertions, 8 deletions
diff --git a/.latexmkrc b/.latexmkrc
index c0c3a17..28ae99a 100644
--- a/.latexmkrc
+++ b/.latexmkrc
@@ -1,13 +1,8 @@
+my $cwd = cwd();
$pdf_mode = 1;
$pdflatex = 'pdflatex -synctex=1 --interaction=nonstopmode';
+$aux_dir = "$cwd/build";
+$out_dir = "$cwd/build";
$do_cd = 1;
-$aux_dir = "../build";
-$out_dir = "../build";
$emulate_aux = 1;
$clean_ext = "%R-*.glstex %R_contourtmp*.* pdfsync synctex.gz";
-
-if(defined $ENV{JOBNAME}) {
- $jobname = "%A-$ENV{JOBNAME}";
-} else {
- $jobname = "%A";
-}