From a5e5f3e307386cf3559ea1a52708a282029a55b9 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 8 Jul 2019 22:14:28 +0100 Subject: [PATCH] Protocol spec: Makefile fixes for nolatexmk targets. Signed-off-by: Daira Hopwood --- protocol/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/protocol/Makefile b/protocol/Makefile index cfa98c67..fd43392f 100644 --- a/protocol/Makefile +++ b/protocol/Makefile @@ -89,11 +89,11 @@ nolatexmk-sprout: printf '\\renewcommand{\\docversion}{Version %s [\\SproutSpec]}' "$$(git describe --tags --abbrev=6)" |tee protocol.ver # If $(LATEX) fails, touch an input so that 'make' won't think it is up-to-date next time. rm -f sprout.aux sprout.bbl sprout.blg sprout.brf sprout.bcf - $(LATEX) protocol.tex || { touch incremental_merkle.png; exit 1; } - biber protocol - $(LATEX) protocol.tex || { touch incremental_merkle.png; exit 1; } - $(LATEX) protocol.tex || { touch incremental_merkle.png; exit 1; } - $(LATEX) protocol.tex || { touch incremental_merkle.png; exit 1; } + $(LATEX) -jobname=sprout protocol.tex || { touch incremental_merkle.png; exit 1; } + biber sprout + $(LATEX) -jobname=sprout protocol.tex || { touch incremental_merkle.png; exit 1; } + $(LATEX) -jobname=sprout protocol.tex || { touch incremental_merkle.png; exit 1; } + $(LATEX) -jobname=sprout protocol.tex || { touch incremental_merkle.png; exit 1; } .PHONY: nolatexmk-sapling nolatexmk-sapling: @@ -112,7 +112,7 @@ nolatexmk-blossom: # If $(LATEX) fails, touch an input so that 'make' won't think it is up-to-date next time. rm -f blossom.aux blossom.bbl blossom.blg blossom.brf blossom.bcf $(LATEX) -jobname=blossom protocol.tex || { touch incremental_merkle.png; exit 1; } - biber sapling + biber blossom $(LATEX) -jobname=blossom protocol.tex || { touch incremental_merkle.png; exit 1; } $(LATEX) -jobname=blossom protocol.tex || { touch incremental_merkle.png; exit 1; } $(LATEX) -jobname=blossom protocol.tex || { touch incremental_merkle.png; exit 1; }