aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
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) $<