Debian Codegraph @

texmf-dist/source/latex/subfig/Makefile

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