]> wolfpit.net Git - presentation/howto-vortrag/.git/blame - Makefile
slides: fixed some typos
[presentation/howto-vortrag/.git] / Makefile
CommitLineData
40852b6f
VD
1# Variablen
2PANDOC_BEAMER=-t beamer --slide-level 2
3RUBBER_ARG=-d
4
5# main targets
6beamer: presentation.pdf
7 mv $< beamer.pdf
8 rubber $(RUBBER_ARG) --clean presentation
9 rm -f presentation.vrb
10
11# Convert markdown to tex using pandoc
12slides.tex: $(wildcard slides/*.md)
13 pandoc $(PANDOC_BEAMER) -o $@ slides/*.md
14
15# Build pdfs
16presentation.tex: slides.tex
17
18%.pdf: %.tex
19 rubber $(RUBBER_ARG) $<
20
21# Generic
22clean:
23 rubber $(RUBBER_ARG) --clean presentation
24 rm -f slides.tex presentation.vrb beamer.pdf