aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-05-25 17:47:34 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-05-25 17:47:34 +0200
commit078038da762d7f64ae07cf416a2a08dddfc0c651 (patch)
tree474a8f9a82a7848f851f5f14ba4f65de1022c87e /docs/makefile
parent0350186840aa15ff2c5547d48fe831d0729b3ef0 (diff)
parent23017163757ea5e674bec4fb5529c24fe54002d7 (diff)
Merge branch 'master' into prot/vault-puzzle (merge #5)
Diffstat (limited to 'docs/makefile')
-rw-r--r--docs/makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/makefile b/docs/makefile
new file mode 100644
index 0000000..f175830
--- /dev/null
+++ b/docs/makefile
@@ -0,0 +1,21 @@
+all: plan.pdf
+all: reqs.pdf
+all: research.pdf
+all: design.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) $<
+