]> wolfpit.net Git - presentation/howto-vortrag/.git/blob - Makefile
slides: fixed some typos
[presentation/howto-vortrag/.git] / Makefile
1 # Variablen
2 PANDOC_BEAMER=-t beamer --slide-level 2
3 RUBBER_ARG=-d
4
5 # main targets
6 beamer: 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
12 slides.tex: $(wildcard slides/*.md)
13 pandoc $(PANDOC_BEAMER) -o $@ slides/*.md
14
15 # Build pdfs
16 presentation.tex: slides.tex
17
18 %.pdf: %.tex
19 rubber $(RUBBER_ARG) $<
20
21 # Generic
22 clean:
23 rubber $(RUBBER_ARG) --clean presentation
24 rm -f slides.tex presentation.vrb beamer.pdf