aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/priv.mk22
-rw-r--r--build/unpriv.mk22
2 files changed, 0 insertions, 44 deletions
diff --git a/build/priv.mk b/build/priv.mk
deleted file mode 100644
index f287023..0000000
--- a/build/priv.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-HEADER_SOURCE := ../src/riscv-privileged.adoc
-#HEADER_SOURCE := ../src/riscv-isa-unpr-conv-review.adoc
-PDF_RESULT := priv-isa-asciidoc.pdf
-#PDF_RESULT := unpriv-isa-asciidoc.pdf
-# Not all document sources are yet listed here. Not just adoc files but
-# images/ and resources/ content. Once they are the target can remove the
-# phony use.
-SOURCES := $(HEADER_SOURCE)
-
-all: $(PDF_RESULT)
-
-.PHONY: $(PDF_RESULT)
-$(PDF_RESULT): $(SOURCES)
- asciidoctor-pdf \
- --attribute=mathematical-format=svg \
- --failure-level=ERROR \
- --require=asciidoctor-bibtex \
- --require=asciidoctor-diagram \
- --require=asciidoctor-mathematical \
- --trace \
- --out-file=$@ \
- $(HEADER_SOURCE) \ No newline at end of file
diff --git a/build/unpriv.mk b/build/unpriv.mk
deleted file mode 100644
index aa7158d..0000000
--- a/build/unpriv.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-#HEADER_SOURCE := ../src/riscv-privileged.adoc
-HEADER_SOURCE := ../src/riscv-isa-unpr-conv-review.adoc
-#PDF_RESULT := priv-isa-asciidoc.pdf
-PDF_RESULT := unpriv-isa-asciidoc.pdf
-# Not all document sources are yet listed here. Not just adoc files but
-# images/ and resources/ content. Once they are the target can remove the
-# phony use.
-SOURCES := $(HEADER_SOURCE)
-
-all: $(PDF_RESULT)
-
-.PHONY: $(PDF_RESULT)
-$(PDF_RESULT): $(SOURCES)
- asciidoctor-pdf \
- --attribute=mathematical-format=svg \
- --failure-level=ERROR \
- --require=asciidoctor-bibtex \
- --require=asciidoctor-diagram \
- --require=asciidoctor-mathematical \
- --trace \
- --out-file=$@ \
- $(HEADER_SOURCE) \ No newline at end of file