forked from riscv/riscv-j-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
28 lines (25 loc) · 993 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all: zjid-spec.pdf zjpm-spec.pdf
zjid-spec.pdf: zjid/*.adoc docs-templates
mkdir -p zjid/images
cp docs-templates/src/images/risc-v_logo.png zjid/images
cp docs-templates/src/images/backpage.png zjid/images
asciidoctor-pdf \
--attribute=mathematical-format=svg \
--attribute=pdf-fontsdir=docs-templates/resources/fonts \
--attribute=pdf-style=docs-templates/resources/themes/riscv-pdf.yml \
--failure-level=ERROR \
--out-file=$@ \
zjid/header.adoc
zjpm-spec.pdf: zjpm/*.adoc docs-templates
mkdir -p zjpm/images
cp docs-templates/src/images/risc-v_logo.png zjpm/images
cp docs-templates/src/images/backpage.png zjpm/images
asciidoctor-pdf \
--attribute=mathematical-format=svg \
--attribute=pdf-fontsdir=docs-templates/resources/fonts \
--attribute=pdf-style=docs-templates/resources/themes/riscv-pdf.yml \
--failure-level=ERROR \
--out-file=$@ \
zjpm/header.adoc
docs-templates:
git clone https://github.com/riscv/docs-templates.git