Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4bf0871

Browse files
committedMay 14, 2024
Don't build epub docs within docker container
...as doing so currently fails.
1 parent a10efbd commit 4bf0871

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎build/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
# for generating documentation in various formats (PDF, HTML).
1515

1616
# 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)
1821

1922
# Declare phony targets
2023
.PHONY: all $(TARGETS) clean
@@ -25,7 +28,7 @@ all: $(TARGETS)
2528
# Build with preinstalled docker container; first install it with:
2629
# docker pull riscvintl/riscv-docs-base-container-image:latest
2730
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)'
2932

3033
# Asciidoctor options
3134
ASCIIDOCTOR_OPTS := -a compress \

0 commit comments

Comments
 (0)
Please sign in to comment.