aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
blob: cccc23189fa722d30e56a00be348bbc5c62fa077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: plan.pdf

# 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 $(ASCIIDOCTOR_ARGS) $<