aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-14 14:43:33 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-14 14:43:33 +0200
commita24ebd2dce62255873ec204065262c8743245769 (patch)
tree13839d9b93aa9d3a3e90a24f12b3069e48785e33 /docs/makefile
parent898bc5d79c70c859d66b8c1548446c6e45302421 (diff)
fix source management in asciidoc
Diffstat (limited to 'docs/makefile')
-rw-r--r--docs/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/makefile b/docs/makefile
index 385ed09..cccc231 100644
--- a/docs/makefile
+++ b/docs/makefile
@@ -1,13 +1,16 @@
all: plan.pdf
-include font.mk
+# include font.mk
# PDFDEPS += $(ALL_FONTS)
PDFDEPS += ./theme.yml
+ASCIIDOCTOR_ARGS += --require asciidoctor-bibtex
+ASCIIDOCTOR_ARGS += --require asciidoctor-pdf
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 --require asciidoctor-pdf $(ASCIIDOCTOR_ARGS) $<
+ asciidoctor $(ASCIIDOCTOR_ARGS) $<