blob: e5903ecfbb9e2c7e4f76e17929829a4a90d3c40f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#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)
|