aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-05-25 17:45:54 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-05-25 17:45:54 +0200
commit23017163757ea5e674bec4fb5529c24fe54002d7 (patch)
tree6610817ee1972d705eacb8aed3e5e6df4e2e540a /docs/makefile
parenta7ef669c7391e0a0112473b4934aadf531b17960 (diff)
parent2c822f07fb31aaf00679227af50483218479dba5 (diff)
Merge branch 'master' into prot/neo-puzzle (merge #4)
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) $<
+