blob: bc9ed385a1c21e747826e3216b4be29edebd9f83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
BEAMER := $(basename $(wildcard *.mdwn))
PAPER := $(basename $(wildcard *.mdwn))
all: \
$(addsuffix .slides.pdf, $(BEAMER)) \
$(addsuffix .paper.pdf, $(PAPER)) \
$(addsuffix .slides.pdf, $(BEAMER)): %.slides.pdf: %.mdwn
pandoc -f markdown -t beamer -o $@ $<
$(addsuffix .paper.pdf, $(PAPER)): %.paper.pdf: %.mdwn
pandoc -f markdown -t latex -o $@ $<
|