11 lines
351 B
Makefile
11 lines
351 B
Makefile
|
# make creates pdf files of all newly edited .md files
|
||
|
|
||
|
SRCS := $(wildcard *.md)
|
||
|
PDF := $(SRCS:%.md=%.pdf)
|
||
|
|
||
|
OPT := --pdf-engine=xelatex --variable mainfont="Helvetica" --variable sansfont="Helvetica" -t beamer -s -fmarkdown-implicit_figures --template=template.beamer --highlight-style=kate
|
||
|
all: ${PDF}
|
||
|
|
||
|
%.pdf: %.md
|
||
|
pandoc $(OPT) --output=$@ $<
|