File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 14
14
# for generating documentation in various formats (PDF, HTML).
15
15
16
16
# Build Targets
17
- TARGETS := priv-pdf unpriv-pdf priv-html unpriv-html priv-epub unpriv-epub
17
+ TARGETS_PDF := priv-pdf unpriv-pdf
18
+ TARGETS_HTML := priv-html unpriv-html
19
+ TARGETS_EPUB := priv-epub unpriv-epub
20
+ TARGETS := $(TARGETS_PDF ) $(TARGETS_HTML ) $(TARGETS_EPUB )
18
21
19
22
# Declare phony targets
20
23
.PHONY : all $(TARGETS ) clean
@@ -25,7 +28,7 @@ all: $(TARGETS)
25
28
# Build with preinstalled docker container; first install it with:
26
29
# docker pull riscvintl/riscv-docs-base-container-image:latest
27
30
docker :
28
- cd .. && docker run -it -v ` pwd` :/build riscvintl/riscv-docs-base-container-image:latest /bin/sh -c ' cd ./build; make -$(MAKEFLAGS)'
31
+ cd .. && docker run -it -v ` pwd` :/build riscvintl/riscv-docs-base-container-image:latest /bin/sh -c ' cd ./build; make -$(MAKEFLAGS) $(TARGETS_PDF) $(TARGETS_HTML) '
29
32
30
33
# Asciidoctor options
31
34
ASCIIDOCTOR_OPTS := -a compress \
You can’t perform that action at this time.
0 commit comments