aboutsummaryrefslogtreecommitdiff
path: root/docs/makefile
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-02-22 11:09:16 +0100
committerUnavailableDev <ggwildplay@gmail.com>2023-02-22 11:09:16 +0100
commit936bb51ceba0427aa1a36fcd6398d56a1a99e160 (patch)
tree98f0192011cde1251d38be5573292b5a130e1f1a /docs/makefile
parentc3b877f0503ce995bd79ed3f4eb74d7370839582 (diff)
parent9b84c25a53b7269228743e398b13c19af505226b (diff)
Merge branch 'dev' of https://github.com/lonkaars/avans-arcade into merge
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