From edb1d4619d922713aa89c4a8a090888ec0571a76 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Mon, 14 Mar 2016 13:50:24 -0400 Subject: [PATCH] Change `make cheese` to output to cheese/ directory And then join pdfs together into cheese.pdf Signed-off-by: Anna Schumaker --- .gitlab-ci.yml | 4 ++-- Makefile | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c9ee96e..073da5e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ stages: build: stage: build script: - - make + - make cheese artifacts: paths: - - *.pdf + - cheese.pdf diff --git a/Makefile b/Makefile index 8f5b3be..370d5fa 100644 --- a/Makefile +++ b/Makefile @@ -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