add pdf conversion

Here's the printable version for people who are too good for
markdown for some reason.
This commit is contained in:
2024-05-29 00:41:32 +02:00
parent f4836ed244
commit c83db7912d
3 changed files with 37 additions and 1 deletions

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
.PHONY: pdf
pdf: overview.pdf
rubbish/:
mkdir rubbish
overview.pdf:| rubbish/overview.pdf
ln rubbish/overview.pdf overview.pdf
rubbish/overview.pdf: overview.tex
overview.tex: overview.md | rubbish/
lowdown -stlatex overview.md > overview.tex
rubbish/overview.pdf: overview.tex
pdflatex -output-directory rubbish/ overview.tex
.PHONY: clean
clean:
$(RM) -r rubbish overview.tex