blob: be61a5212a3084deec22c817874441658d20b3f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
TARGETS=studies/exams.html\
studies/subjects/computer-science.html
TARGETS_PDF=$(TARGETS:%html=%pdf)
default: $(TARGETS)
pdf: $(TARGETS_PDF)
%.html: %.md
pandoc "$^" -o "$@"\
-s\
--css="https://mohit.uk/document.css"\
-B "navbar.html"
%.pdf: %.md
pandoc "$^" -o "$@"\
--pdf-engine=pdfroff
clean:
rm -rf $(TARGETS)
|