summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/beamer/Makefile
blob: cc1cca8abd7e6196b26f34878e96e8259f46ed4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
rerun = "(There were undefined references|Rerun to get (cross-references|the bars) right)"
doc   = beameruserguide

themes = AnnArbor Antibes Berkeley Berlin Bergen Boadilla  Copenhagen Darmstadt \
  Dresden Frankfurt Goettingen Hannover Ilmenau JuanLesPins \
  Luebeck Malmoe Madrid Marburg Montpellier PaloAlto \
  Pittsburgh Rochester Singapore Szeged Warsaw \
  CambridgeUS \
  default boxes

fontthemes = default serif structurebold structureitalicserif structuresmallcapsserif 

colorthemes = default crane albatross seahorse whale dolphin \
  rose orchid sidebartab lily structure dove seagull beetle fly wolverine \
  beaver 

outerthemes = default infolines miniframes shadow sidebar smoothbars smoothtree split tree

innerthemes = default circles rectangles rounded inmargin

all: $(doc).pdf

beameruserguide.idx: 
	touch beameruserguide.idx

beameruserguide.ind: beameruserguide.idx 
	makeindex $(doc).idx

beameruserguide.pdf: $(doc).tex $(doc).ind \
 $(themes:%=beamerugtheme%.pdf) \
 $(fontthemes:%=beamerugfonttheme%.pdf) \
 $(colorthemes:%=beamerugcolortheme%.pdf) \
 beamerugcolorthemealbatrossstylish.pdf \
 $(innerthemes:%=beameruginnertheme%.pdf) \
 $(outerthemes:%=beamerugoutertheme%.pdf) 
	pdflatex $(doc).tex
	(egrep -q $(rerun) $(doc).log && pdflatex $(doc).tex) || true

beamerugtheme%.pdf: beamerthemeexample.tex beamerthemeexamplebase.tex ../themes/theme/beamertheme%.sty
	pdflatex \\def\\themename{$(@:beamerugtheme%.pdf=%)}\\input beamerthemeexample.tex;
	mv beamerthemeexample.pdf $@

beamerugfonttheme%.pdf: beamerfontthemeexample.tex beamerthemeexamplebase.tex ../themes/font/beamerfonttheme%.sty
	pdflatex \\def\\themename{$(@:beamerugfonttheme%.pdf=%)}\\input beamerfontthemeexample.tex;
	mv beamerfontthemeexample.pdf $@

beamerugcolorthemealbatrossstylish.pdf: beamercolorthemeexample.tex beamerthemeexamplebase.tex ../themes/color/beamercolorthemealbatross.sty
	pdflatex \\def\\themename{albatrossstylish}\\input beamercolorthemeexample.tex;
	mv beamercolorthemeexample.pdf $@

beamerugcolortheme%.pdf: beamercolorthemeexample.tex beamerthemeexamplebase.tex ../themes/color/beamercolortheme%.sty
	pdflatex \\def\\themename{$(@:beamerugcolortheme%.pdf=%)}\\input beamercolorthemeexample.tex;
	mv beamercolorthemeexample.pdf $@

beameruginnertheme%.pdf: beamerinnerthemeexample.tex beamerthemeexamplebase.tex ../themes/inner/beamerinnertheme%.sty
	pdflatex \\def\\themename{$(@:beameruginnertheme%.pdf=%)}\\input beamerinnerthemeexample.tex;
	mv beamerinnerthemeexample.pdf $@

beamerugoutertheme%.pdf: beamerouterthemeexample.tex beamerthemeexamplebase.tex ../themes/outer/beameroutertheme%.sty
	pdflatex \\def\\themename{$(@:beamerugoutertheme%.pdf=%)}\\input beamerouterthemeexample.tex;
	mv beamerouterthemeexample.pdf $@

clean:
	rm -f *.aux *.log *.bbl *.blg *.ps *.dvi *.pdf *.toc *.out *.snm