aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-23 17:49:28 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-23 17:49:28 +0200
commitabc1d59a6aa5cf2e3f4b99f14d57cb462c95b7d1 (patch)
tree33720002bf2172f1270c852b0eb1aee8b92b6e4c /docs/makefile
parent6dd2000fd69fb54240159b1b950036e745e17bcc (diff)
parent424c5a281282451b224da0ba26e35fb03bf2ecf5 (diff)
Merge branch 'wip/docs'
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) $<
+