summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/tpic2pdftex/Makefile
blob: 99cd48d04e5e5698b830c45da476146e0c09fe69 (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
#$Id: Makefile,v 1.21 2007/01/14 13:35:17 hahe Exp hahe $

.PRECIOUS:	%.tpic %.tex

all:	example.pdf beamerexample.pdf

example.pdf:	example.tex
	pdftex $<

beamerexample.pdf:	beamerexample.tex
	pdflatex $<

%.tpic:	%.pic Makefile
	pic -z -t $< > $@

%.tex:	%.tpic
	tpic2pdftex $< > $@

clean:
	- rm *.tex
	- rm *.log
	- rm *.toc
	- rm *.out
	- rm *.snm
	- rm *.nav
	- rm *.aux
	- rm *.tpic

allclean:
	make clean
	- rm *.pdf