summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikz-palattice/Makefile
blob: b985a3967a191e119c88a1437469fda7aef54c9c (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
latex = pdflatex
packagename = tikz-palattice
INSTALL_PATH = /usr/local/share/texmf/tex/latex
e1 = example1_linear
e2 = example2_circular
e3 = example3_coordinates
e4 = example4_labels
e5 = elsa
doc = tikz-palattice_documentation

all: doc allexamples
doc: $(doc).pdf
allexamples: $(e1).pdf $(e2).pdf $(e3).pdf $(e4).pdf $(e5).pdf


$(e1).pdf: $(e1).tex
	$(latex) $<

$(e2).pdf: $(e2).tex
	$(latex) $<

$(e3).pdf: $(e3).tex
	$(latex) $<

$(e4).pdf: $(e4).tex
	$(latex) $<

$(e5).pdf: $(e5).tex
	$(latex) $<

$(doc).pdf: $(doc).tex $(e1).pdf $(e5).pdf
	$(latex) $<


install:
	install -m 644 -p -D -v tikz-palattice.sty $(INSTALL_PATH)/$(packagename)/$(packagename).sty
	mktexlsr

clean:
	rm $(e1).pdf $(e2).pdf $(e3).pdf $(e4).pdf $(e5).pdf