aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-03-28 13:02:02 -0700
committerAndrew Waterman <andrew@sifive.com>2023-03-28 13:03:07 -0700
commit33388ba5d58657805a95f4cad133d21b6e2534a4 (patch)
tree0dd9b5353cd052775ca65c46a9abee3eda9178c4 /build
parente4aff82df4aa2ce9e1c15080372a9f7ceb2fdfa5 (diff)
downloadriscv-isa-manual-33388ba5d58657805a95f4cad133d21b6e2534a4.zip
riscv-isa-manual-33388ba5d58657805a95f4cad133d21b6e2534a4.tar.gz
riscv-isa-manual-33388ba5d58657805a95f4cad133d21b6e2534a4.tar.bz2
Depend on all .adoc sources
This is imprecise, but it's better to over-trigger the build than under-trigger it.
Diffstat (limited to 'build')
-rw-r--r--build/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/Makefile b/build/Makefile
index 192668c..ed2a7d0 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -19,7 +19,7 @@ SRCDIR := ../src
# Privileged ISA
priv: priv-isa-asciidoc.pdf
-priv-isa-asciidoc.pdf: $(SRCDIR)/riscv-privileged.adoc
+priv-isa-asciidoc.pdf: $(SRCDIR)/riscv-privileged.adoc $(SRCDIR)/*.adoc
@echo "Building Privileged ISA"
rm -f $@.tmp
asciidoctor-pdf $(ASCIIDOCTOR_OPTS) --out-file=$@.tmp $<
@@ -28,7 +28,7 @@ priv-isa-asciidoc.pdf: $(SRCDIR)/riscv-privileged.adoc
# Unprivileged ISA
unpriv: unpriv-isa-asciidoc.pdf
-unpriv-isa-asciidoc.pdf: $(SRCDIR)/riscv-isa-unpr-conv-review.adoc
+unpriv-isa-asciidoc.pdf: $(SRCDIR)/riscv-isa-unpr-conv-review.adoc $(SRCDIR)/*.adoc
@echo "Building Unprivileged ISA"
rm -f $@.tmp
asciidoctor-pdf $(ASCIIDOCTOR_OPTS) --out-file=$@.tmp $<