Debian Codegraph @

texmf-dist/source/latex/subfigure/Makefile

raw
1 PACKAGE = subfigure
2 ########################################################################
3 ## LaTeX2e Makefile
4 ##
5 ## Update the following defines for your local configuration,
6 ##
7 CONTRIB = /usr/local/lib/texmf/tex/subfigure
8 ##
9 A2PS = a2ps
10 CP = cp
11 DVIPS = dvips -t letter
12 GZIP = gzip
13 LATEX = latex
14 MAKEINDEX = makeindex
15 PDFLATEX = pdflatex
16 PS2PDF = ps2pdf
17 RM = rm
18 TAR = tar
19 ########################################################################
20 ## make [all] Generates the style (.sty) file, the doc and
21 ## test files (.ps) and cleans up the directory.
22 ## make [un]install Install or uninstall the style (.sty) file from
23 ## the CONTRIB area.
24 ## make [very]clean Clean out various auxillary files. "veryclean"
25 ## cleans out more stuff.
26 ########################################################################
27 ## make dvi Generate the *.dvi version of the documentation.
28 ## make [full]ps Generate the documentation. The "fullps" version
29 ## adds the change log and the cross-references.
30 ## make idx Generate the change log and the cross-references
31 ## (for fullps -- requires MAKEINDEX).
32 ## make sty Generate the style (.sty) file.
33 ## make pdf Generate the *.pdf version of the documentation.
34 ########################################################################
35 ## make test Runs test program(s).
36 ## make distribtion Builds a distribution (.tar.gz) file.
37 ########################################################################
38
39 all: pdf test clean
40
41 install: sty
42 $(CP) $(PACKAGE).sty $(CONTRIB)
43 uninstall: ; -$(RM) -f $(CONTRIB)/$(PACKAGE).sty
44 clean: ; -$(RM) -f *.dvi *.log *.aux *.lof *.lot *.lom *.toc
45 -$(RM) -f *.idx *.ind *.glo *.gls *.ilg *.out *~
46 veryclean: clean
47 -$(RM) -f *.sty *.cls *.ps *.pdf *.gz *pk ltxdoc.cfg
48
49 dvi: $(PACKAGE).dvi
50 fullps: dvi idx ps
51 idx: $(PACKAGE).ind $(PACKAGE).gls
52 $(LATEX) $(PACKAGE).dtx
53 $(LATEX) $(PACKAGE).dtx
54 ps: $(PACKAGE).ps
55 sty: $(PACKAGE).sty
56 pdf: fullps
57 $(PS2PDF) $(PACKAGE).ps > $(PACKAGE).pdf
58
59 test: test1 test2 test3 test4 test5
60
61 distribution: ; mkdir $(PACKAGE)
62 $(CP) -p README Makefile $(PACKAGE).pdf $(PACKAGE)
63 $(CP) -p $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE)
64 $(CP) -p test*.tex $(PACKAGE)
65 $(TAR) -cvf $(PACKAGE).tar ./$(PACKAGE)
66 $(RM) -rf $(PACKAGE)
67 $(GZIP) -9 $(PACKAGE).tar
68
69 $(PACKAGE).aux: $(PACKAGE).dtx $(PACKAGE).sty
70 $(LATEX) $(PACKAGE).dtx
71 $(LATEX) $(PACKAGE).dtx
72
73 $(PACKAGE).dvi: $(PACKAGE).dtx $(PACKAGE).sty $(PACKAGE).aux
74 $(LATEX) $(PACKAGE).dtx
75 $(LATEX) $(PACKAGE).dtx
76 $(LATEX) $(PACKAGE).dtx
77
78 $(PACKAGE).glo: $(PACKAGE).dtx $(PACKAGE).sty
79 $(LATEX) $(PACKAGE).dtx
80
81 $(PACKAGE).gls: $(PACKAGE).glo
82 -$(MAKEINDEX) -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
83
84 $(PACKAGE).idx: $(PACKAGE).dtx $(PACKAGE).sty
85 $(LATEX) $(PACKAGE).dtx
86
87 $(PACKAGE).ind: $(PACKAGE).idx
88 -$(MAKEINDEX) -s gind.ist $(PACKAGE).idx
89
90 $(PACKAGE).ps: $(PACKAGE).dvi
91 $(DVIPS) -o $(PACKAGE).ps $(PACKAGE).dvi
92
93 $(PACKAGE).sty: $(PACKAGE).dtx $(PACKAGE).ins
94 $(LATEX) $(PACKAGE).ins
95
96 test1: $(PACKAGE).sty
97 $(LATEX) test.tex
98 $(LATEX) test.tex
99 $(LATEX) test.tex
100 $(DVIPS) -o test.ps test.dvi
101
102 test2: $(PACKAGE).sty
103 $(LATEX) test2.tex
104 $(LATEX) test2.tex
105 $(DVIPS) -o test2.ps test2.dvi
106
107 test3: $(PACKAGE).sty
108 $(LATEX) test3.tex
109 $(LATEX) test3.tex
110 $(LATEX) test3.tex
111 $(DVIPS) -o test3.ps test3.dvi
112
113 test4: $(PACKAGE).sty
114 $(PDFLATEX) test4.tex
115 $(PDFLATEX) test4.tex
116 $(PDFLATEX) test4.tex
117
118 test5: $(PACKAGE).sty
119 $(LATEX) test5.tex
120 $(LATEX) test5.tex
121 $(A2PS) -o test5a.ps test5.log
122 $(DVIPS) -o test5b.ps test5.dvi
123