Browse Source

Change `make cheese` to output to cheese/ directory

Anna Schumaker 1 year ago
parent
commit
edb1d4619d
2 changed files with 6 additions and 3 deletions
  1. 2 2
      .gitlab-ci.yml
  2. 4 1
      Makefile

+ 2 - 2
.gitlab-ci.yml View File

@@ -5,7 +5,7 @@ stages:
5 5
 build:
6 6
   stage: build
7 7
   script:
8
-    - make
8
+    - make cheese
9 9
   artifacts:
10 10
     paths:
11
-      - *.pdf
11
+      - cheese.pdf

+ 4 - 1
Makefile View File

@@ -5,7 +5,10 @@ TEX = latexmk -recorder -pdf
5 5
 	$(TEX) $<
6 6
 
7 7
 cheese:
8
-	$(TEX) *.tex
8
+	$(TEX) -outdir=cheese/ *.tex
9
+	pdfjoin -o cheese.pdf cheese/*.pdf
9 10
 
10 11
 clean:
11 12
 	latexmk -C
13
+	rm -r cheese/
14
+	rm cheese.pdf