blob: 99fa315fd93457848d5b7ff8810e2878d445a090 (
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
47
48
49
50
51
52
53
54
|
#
# Makefile for pst-pdgr package
#
# This file is in public domain
#
# $Id: Makefile,v 2.1 2007-07-12 16:36:41 boris Exp $
#
PACKAGE=pst-pdgr
all: $(PACKAGE).pdf
%.pdf: %.ps
ps2pdf -sAutoRotatePages=None $<
%.ps: %.dvi
dvips -Ppdf -o $@ $<
%.dvi: %.dtx $(PACKAGE).sty $(PACKAGE).tex
latex $<
- bibtex $*
latex $<
- makeindex -s gind.ist -o $*.ind $*.idx
- makeindex -s gglo.ist -o $*.gls $*.glo
latex $<
while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
do latex $<; done
%.sty: %.ins %.dtx
latex $<
%.tex: %.ins %.dtx
latex $<
.PRECIOUS: $(PACKAGE).cfg $(PACKAGE).tex $(PACKAGE).sty
clean:
$(RM) $(PACKAGE).tex $(PACKAGE).sty $(PACKAGE).log $(PACKAGE).aux \
$(PACKAGE).cfg $(PACKAGE).glo $(PACKAGE).idx $(PACKAGE).toc \
$(PACKAGE).ilg $(PACKAGE).ind $(PACKAGE).out $(PACKAGE).lof \
$(PACKAGE).lot $(PACKAGE).bbl $(PACKAGE).blg $(PACKAGE).gls \
$(PACKAGE).dvi $(PACKAGE).ps
distclean: clean
$(RM) $(PACKAGE).pdf
#
# Archive for the distribution. Includes typeset documentation
#
archive: all clean
tar -czvf pst-pdgr.tgz --exclude '*~' --exclude '*.tgz' --exclude CVS .
|