summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/code/Makefile
blob: 58a4fec923a979c54208e1f422d7bebc3590012e (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
input=pst-code

all:
	$(MAKE) dvi
	$(MAKE) ps
	$(MAKE) pdf

index:
	makeindex -s gind.ist $(input).idx

dvi:
	latex $(input).tex
	$(MAKE) index
	latex $(input).tex
	xdvi $(input).dvi

ps:
	latex $(input).tex
	$(MAKE) index
	latex $(input).tex
	dvips $(input)
	gv $(input).ps

pdf:
	pdflatex $(input).tex
	$(MAKE) index
	pdflatex $(input).tex
	xpdf $(input).pdf


zip:
	$(RM) $(input).zip
	zip -r $(input).zip *

clean:
	$(RM) *.pdf
	$(RM) *.ps