Change `make cheese` to output to cheese/ directory

And then join pdfs together into cheese.pdf

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2016-03-14 13:50:24 -04:00
parent e669fe9cff
commit edb1d4619d
2 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,7 @@ stages:
build:
stage: build
script:
- make
- make cheese
artifacts:
paths:
- *.pdf
- cheese.pdf

View File

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