aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-19 15:21:06 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-19 15:21:06 +0200
commit5f5423cd763c75920072aef419eb9160f8f4fd48 (patch)
treedaca1747365d7b3489b55fbbcee531c855c73f15 /docs/makefile
parent0d40eb00c737817ac4c635bdfcf27fc70ce4284b (diff)
WIP more requirements
Diffstat (limited to 'docs/makefile')
-rw-r--r--docs/makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/makefile b/docs/makefile
index a3f5597..e177f6d 100644
--- a/docs/makefile
+++ b/docs/makefile
@@ -6,13 +6,17 @@ all: requirements.pdf
# PDFDEPS += $(ALL_FONTS)
PDFDEPS += ./theme.yml
+# uncomment to debug include errors
+# ASCIIDOCTOR_ARGS += --trace
+
ASCIIDOCTOR_ARGS += --require asciidoctor-bibtex
ASCIIDOCTOR_ARGS += --require asciidoctor-pdf
# ASCIIDOCTOR_ARGS += --require ./plugin/helloworld
+ASCIIDOCTOR_ARGS += --require asciidoctor-interdoc-reftext
ASCIIDOCTOR_ARGS += --backend pdf
ASCIIDOCTOR_ARGS += --attribute pdf-theme=./theme.yml
# ASCIIDOCTOR_ARGS += --attribute pdf-fontsdir=./res/font
ASCIIDOCTOR_ARGS += --attribute bibtex-file=./share/refs.bib
%.pdf: %.adoc $(PDFDEPS)
- asciidoctor $(ASCIIDOCTOR_ARGS) $<
+ bundle exec asciidoctor $(ASCIIDOCTOR_ARGS) $<