summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-blur/Makefile
blob: 9a5fb256b1d4305649797582cacd30f4afedd917 (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

# `Makefile' for `pst-fill.pdf', RN, 2005/10/07

.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps

PACKAGE = pst-blur

LATEX = latex

ARCHNAME = $(PACKAGE)-$(shell date +%y%m%d)

ARCHFILES = $(PACKAGE).dtx $(PACKAGE).ins Makefile

all : sty doc 
sty : 
	tex $(PACKAGE).ins

doc : $(PACKAGE).pdf

$(PACKAGE).pdf : $(PACKAGE).ps
	GS_OPTIONS=-dAutoRotatePages=/None ps2pdf $<

$(PACKAGE).ps : $(PACKAGE).dvi
	dvips $<

$(PACKAGE).dvi : $(PACKAGE).dtx
	$(LATEX) $<
	if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi
	if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi
	makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls \
	  $(basename $<).glo
	makeindex -s gind.ist -t $(basename $<).ilg -o $(basename $<).ind \
	  $(basename $<).idx
	$(LATEX) $<

clean : 
	$(RM) $(addprefix $(PACKAGE), .log .aux .glg .glo .gls .ilg .idx .ind)
	$(RM) $(addprefix $(PACKAGE), .dvi .ps)

veryclean : clean
	$(RM) $(PACKAGE).pdf

arch :
	zip $(ARCHNAME).zip $(ARCHFILES)

# EOF