From 3797f0a21c142b37c6ce0728f60b231f2230c4f0 Mon Sep 17 00:00:00 2001 From: Alasdair Armstrong Date: Mon, 21 Jan 2019 14:25:56 +0000 Subject: Fix a bug with type-checking and latex generation We should maybe just make the -latex option behavior the default to avoid this kind of thing --- doc/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/Makefile b/doc/Makefile index ae542571..b3802b34 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -52,10 +52,12 @@ ifeq ($(shell which sail),) $(error Cannot find sail executable, make sure it is in PATH) endif +RISCV=../../sail-riscv + .PHONY: clean -code_riscv.tex: ../riscv/prelude.sail ../riscv/riscv_duopod.sail - sail -o code_riscv -latex ../riscv/prelude.sail ../riscv/riscv_duopod.sail +code_riscv.tex: ${RISCV}/prelude.sail ${RISCV}/riscv_duopod.sail + sail -o code_riscv -latex ${RISCV}/prelude.sail ${RISCV}/riscv_duopod.sail cp code_riscv/commands.tex code_riscv.tex code_myreplicatebits.tex: examples/my_replicate_bits.sail -- cgit v1.2.3