summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-01-21 14:25:56 +0000
committerAlasdair Armstrong2019-01-21 14:25:56 +0000
commit3797f0a21c142b37c6ce0728f60b231f2230c4f0 (patch)
tree59acc05186ba375093d3d58c73a2a164f1538737 /doc
parent6fbb57d3e2765b5235692ac2c24b53cf48cd82b6 (diff)
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
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile6
1 files changed, 4 insertions, 2 deletions
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