summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/apprends-latex/exemples/Makefile
blob: 4d7875aebeaa4ff0058bd40d13ba843d1d3c7c96 (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
LATEX = $(wildcard police-*.tex)	\
	letter.tex scrlttr2.tex	\
	curve.tex currvita.tex	\
	slides.tex beamer-titlepage.tex	\
	$(wildcard beamer-theme-*.tex)	\
	moderncv-casual.tex moderncv-classic.tex

.SUFFIXES : .tex .pdf

.tex.pdf :
	latexmk $<

all : moderncv exemples

moderncv : moderncv-casual.tex moderncv-classic.tex

moderncv-casual.tex : moderncv.tex
	sed s/classic/casual/ moderncv.tex > moderncv-casual.tex
	touch -r moderncv.tex moderncv-casual.tex

moderncv-classic.tex : moderncv.tex
	cp -p moderncv.tex moderncv-classic.tex

exemples : $(LATEX:.tex=.pdf)

clean :
	@for e in aux log nav out snm toc ; do \
		rm -f $(LATEX:.tex=.$$e) ; \
	done

distclean : clean
	rm -f $(LATEX:.tex=.pdf)