]> git.donarmstrong.com Git - lib.git/blob - texmf/tex/latex/pst-pdgr/Makefile
add pst-pdr
[lib.git] / texmf / tex / latex / pst-pdgr / Makefile
1 #
2 # Makefile for pst-pdgr package
3 #
4 # This file is in public domain
5 #
6 # $Id: Makefile,v 1.10 2006/05/17 16:27:18 boris Exp $
7 #
8
9 PACKAGE=pst-pdgr
10
11 all:  $(PACKAGE).pdf
12
13 %.pdf:   %.ps
14         ps2pdf -sAutoRotatePages=None $<
15
16 %.ps:  %.dvi
17         dvips -Ppdf -o $@ $<
18
19 %.dvi:  %.dtx   $(PACKAGE).sty $(PACKAGE).tex
20         latex $<
21         - bibtex $*
22         latex $<
23         - makeindex -s gind.ist -o $*.ind $*.idx
24         - makeindex -s gglo.ist -o $*.gls $*.glo
25         latex $<
26         while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
27         do latex $<; done
28
29
30 %.sty:   %.ins %.dtx  
31         latex $<
32
33
34 %.tex:   %.ins %.dtx  
35         latex $<
36
37 .PRECIOUS:  $(PACKAGE).cfg $(PACKAGE).tex $(PACKAGE).sty
38
39
40 clean:
41         $(RM) $(PACKAGE).tex $(PACKAGE).sty $(PACKAGE).log $(PACKAGE).aux \
42         $(PACKAGE).cfg $(PACKAGE).glo $(PACKAGE).idx $(PACKAGE).toc \
43         $(PACKAGE).ilg $(PACKAGE).ind $(PACKAGE).out $(PACKAGE).lof \
44         $(PACKAGE).lot $(PACKAGE).bbl $(PACKAGE).blg $(PACKAGE).gls \
45         $(PACKAGE).dvi $(PACKAGE).ps
46
47 veryclean: clean
48         $(RM) $(PACKAGE).pdf
49
50 #
51 # Archive for the distribution. Includes typeset documentation
52 #
53 archive:  all clean
54         tar -czvf pst-pdgr.tgz --exclude '*~' --exclude '*.tgz' --exclude CVS .