aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
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) $<
+