summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-pad/Makefile
blob: 0c8f6009f516d0b97dd5e892f08ba98965680065 (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
MAIN = pst-pad
MAINDOCEN = pst-pad-doc
MAINDOCDE = pst-pad-docDE

all: \
	Makefile \
	$(MAINDOCEN).pdf \
	$(MAINDOCDE).pdf

$(MAINDOCEN).pdf: \
	showexpl.cfg \
	pst-pad-doc-header.tex \
	$(MAINDOCEN).tex \
	$(MAIN).tex \
	$(MAIN).sty 
		latex $(MAINDOCEN).tex
		latex $(MAINDOCEN).tex
		dvips $(MAINDOCEN)
		ps2pdf $(MAINDOCEN).ps

$(MAINDOCDE).pdf: \
	showexpl.cfg \
	pst-pad-doc-header.tex \
	$(MAINDOCDE).tex \
	$(MAIN).tex \
	$(MAIN).sty 
		latex $(MAINDOCDE).tex
		latex $(MAINDOCDE).tex
		dvips $(MAINDOCDE)
		ps2pdf $(MAINDOCDE).ps

.PHONY: publish
publish: \
		all
		zip $(MAIN).zip \
		Makefile README CHANGES pst-pad-doc-header.tex \
		$(MAIN).tex $(MAIN).sty \
		showexpl.cfg \
		$(MAINDOCEN).tex $(MAINDOCEN).pdf \
		$(MAINDOCDE).tex $(MAINDOCDE).pdf

.PHONY: clean
clean:
		rm *~ *.aux *.backup *.bbl *.blg *.brf *.cb *.changes \
		*.dvi *.idx *.ilg *.ind *.inx *.lof *.log *.lot *.lox \
		*.out *.ps *.pdf *.rel *.tmp *.toc *.xcp *.zip