You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
351 B
10 lines
351 B
# 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=$@ $<
|