analistica/notes/makefile

19 lines
354 B
Makefile
Raw Normal View History

2020-03-06 02:24:32 +01:00
sections = $(shell find sections/ -name '*.md' | sort -V)
pandoc = \
@ pandoc $(1) \
--toc \
--standalone \
--pdf-engine=xelatex \
-F pandoc-crossref \
2020-05-03 00:05:25 +02:00
-F pandoc-citeproc \
2020-03-06 02:24:32 +01:00
-o $(2).pdf
all: exercises.pdf
clean:
rm exercises.pdf
exercises.pdf: $(sections) images
$(call pandoc, $(sections), exercises)