aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-02-19 14:15:40 +0100
committerlonkaars <loek@pipeframe.xyz>2023-02-19 14:15:40 +0100
commitc395be5d4b20858f5eb183d84c4edaf7b5571060 (patch)
tree2533d9832058d4bf89d19715cd6f27e15b49c520 /docs/makefile
parent08efcdf63f78bbf78587b4d6e93d492abd4988f4 (diff)
add list of abbreviations to docs folder
Diffstat (limited to 'docs/makefile')
-rw-r--r--docs/makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/makefile b/docs/makefile
index e4fcb15..a729024 100644
--- a/docs/makefile
+++ b/docs/makefile
@@ -5,7 +5,9 @@ CHROME = chromium --headless --run-all-compositor-stages-before-draw --virtual-t
CURL = curl
PUP = pup
-SRCS = $(wildcard *.md)
+SRCS += gameplay.md \
+ research.md \
+ architecture.md
HTML_T = $(SRCS:.md=.html)
PDF_T = $(SRCS:.md=.pdf)
@@ -22,8 +24,8 @@ gen/paged.polyfill.js:
%.toc: %.md
$(PANDOC) $< -s --toc --to=html 2> /dev/null | $(PUP) '#TOC' | sed -r 's/<(.?)ul>/<\1ol>/g' > $@
-%.html: %.con %.toc gen/doc.m4 gen/paged.polyfill.js gen/style.css
- $(M4) -Igen -DNAME=$(basename $<) gen/doc.m4 > $@
+%.html: %.con %.toc gen/doc.m4 gen/paged.polyfill.js gen/style.css abbreviations.con
+ $(M4) -Igen -I. -DNAME=$(basename $<) gen/doc.m4 > $@
%.pdf: %.html
$(CHROME) --print-to-pdf=$@ $< 2> /dev/null