aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
blob: d1803989bd079da24a888f96faf378a83305f884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all: plan.pdf
all: reqs.pdf
all: research.pdf
all: design.pdf
all: handover.pdf

# include font.mk

# 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 asciidoctor-interdoc-reftext
ASCIIDOCTOR_ARGS += --require asciidoctor-lists
ASCIIDOCTOR_ARGS += --backend pdf
%.pdf: %.adoc $(PDFDEPS)
	bundle exec asciidoctor $(ASCIIDOCTOR_ARGS) $<

%.svg: %.puml
	plantuml -tsvg $<

design.pdf: img/software-components.svg
design.pdf: img/sequence-puzzle-module-init.svg