From b06cf3d50bc662e1a127ef961ef1353af0387245 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Fri, 24 Sep 2021 11:13:35 +0200 Subject: [PATCH] make separate ref version in Makefile --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0bcc958d..6ca7bcab 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,15 @@ ${filename}.glg: svg-inkscape resources: resources.pdf ${filename}.pdf resources.pdf: $(wildcard CS/*.tex) pdflatex CS/resources.tex -ref: +svg-ref: touch .ref - make - rm .ref - mv main.pdf bind_ref.pdf + pdflatex -jobname=bind_ref -shell-escape ${filename}.tex + pdflatex -jobname=bind_ref ${filename}.tex + pdflatex -jobname=bind_ref ${filename}.tex +ref: svg-ref + touch .ref + pdflatex -jobname=bind_ref ${filename}.tex + rm -f .ref creds: cd images && pandoc artists.md -o ../art.pdf all: ref ${filename}.pdf resources.pdf creds -- GitLab