Mercurial > emacs
annotate doc/misc/makefile.w32-in @ 84345:24fb2c2fd866
*** empty log message ***
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 06 Sep 2007 07:32:18 +0000 |
parents | c5789597edd9 |
children | 5ee8873552f8 |
rev | line source |
---|---|
84328
c5789597edd9
Move the parts of the old man/makefile.w32-in that do not refer to the
Glenn Morris <rgm@gnu.org>
parents:
84304
diff
changeset
|
1 #### -*- Makefile -*- for documentation other than the Emacs manual. |
84304 | 2 |
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. | |
4 | |
5 # This file is part of GNU Emacs. | |
6 | |
7 # GNU Emacs is free software; you can redistribute it and/or modify | |
8 # it under the terms of the GNU General Public License as published by | |
9 # the Free Software Foundation; either version 3, or (at your option) | |
10 # any later version. | |
11 | |
12 # GNU Emacs is distributed in the hope that it will be useful, | |
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 # GNU General Public License for more details. | |
16 | |
17 # You should have received a copy of the GNU General Public License | |
18 # along with GNU Emacs; see the file COPYING. If not, write to | |
19 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
20 # Boston, MA 02110-1301, USA. | |
21 | |
22 # Where to find the source code. The source code for Emacs's C kernel is | |
23 # expected to be in $(srcdir)/src, and the source code for Emacs's | |
24 # utility programs is expected to be in $(srcdir)/lib-src. This is | |
25 # set by the configure script's `--srcdir' option. | |
26 srcdir=. | |
27 | |
84328
c5789597edd9
Move the parts of the old man/makefile.w32-in that do not refer to the
Glenn Morris <rgm@gnu.org>
parents:
84304
diff
changeset
|
28 infodir = $(srcdir)/../../info |
84304 | 29 |
30 # The makeinfo program is part of the Texinfo distribution. | |
31 MAKEINFO = makeinfo --force | |
84328
c5789597edd9
Move the parts of the old man/makefile.w32-in that do not refer to the
Glenn Morris <rgm@gnu.org>
parents:
84304
diff
changeset
|
32 MULTI_INSTALL_INFO = $(srcdir)\..\..\nt\multi-install-info.bat |
c5789597edd9
Move the parts of the old man/makefile.w32-in that do not refer to the
Glenn Morris <rgm@gnu.org>
parents:
84304
diff
changeset
|
33 INFO_TARGETS = $(infodir)/ccmode \ |
84304 | 34 $(infodir)/cl $(infodir)/dired-x $(infodir)/ediff \ |
35 $(infodir)/forms $(infodir)/gnus $(infodir)/message \ | |
36 $(infodir)/sieve $(infodir)/pgg $(infodir)/emacs-mime \ | |
37 $(infodir)/info $(infodir)/mh-e $(infodir)/reftex \ | |
38 $(infodir)/sc $(infodir)/vip $(infodir)/viper \ | |
39 $(infodir)/widget $(infodir)/efaq $(infodir)/ada-mode \ | |
40 $(infodir)/autotype $(infodir)/calc $(infodir)/idlwave \ | |
41 $(infodir)/eudc $(infodir)/ebrowse $(infodir)/pcl-cvs \ | |
42 $(infodir)/woman $(infodir)/eshell $(infodir)/org \ | |
43 $(infodir)/url $(infodir)/speedbar $(infodir)/tramp \ | |
44 $(infodir)/ses $(infodir)/smtpmail $(infodir)/flymake \ | |
45 $(infodir)/newsticker $(infodir)/rcirc $(infodir)/erc | |
84328
c5789597edd9
Move the parts of the old man/makefile.w32-in that do not refer to the
Glenn Morris <rgm@gnu.org>
parents:
84304
diff
changeset
|
46 DVI_TARGETS = calc.dvi cc-mode.dvi cl.dvi dired-x.dvi \ |
84304 | 47 ediff.dvi forms.dvi gnus.dvi message.dvi emacs-mime.dvi \ |
48 gnus.dvi message.dvi sieve.dvi pgg.dvi mh-e.dvi \ | |
49 reftex.dvi sc.dvi vip.dvi viper.dvi widget.dvi faq.dvi \ | |
50 ada-mode.dvi autotype.dvi idlwave.dvi eudc.dvi ebrowse.dvi \ | |
51 pcl-cvs.dvi woman.dvi eshell.dvi org.dvi url.dvi \ | |
52 speedbar.dvi tramp.dvi ses.dvi smtpmail.dvi flymake.dvi \ | |
84328
c5789597edd9
Move the parts of the old man/makefile.w32-in that do not refer to the
Glenn Morris <rgm@gnu.org>
parents:
84304
diff
changeset
|
53 newsticker.dvi rcirc.dvi erc.dvi |
84304 | 54 INFOSOURCES = info.texi |
55 | |
56 # The following rule does not work with all versions of `make'. | |
57 .SUFFIXES: .texi .dvi | |
58 .texi.dvi: | |
59 texi2dvi $< | |
60 | |
61 TEXI2DVI = texi2dvi | |
84328
c5789597edd9
Move the parts of the old man/makefile.w32-in that do not refer to the
Glenn Morris <rgm@gnu.org>
parents:
84304
diff
changeset
|
62 ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ |
84304 | 63 "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C |
64 | |
65 | |
66 info: $(INFO_TARGETS) | |
67 | |
68 dvi: $(DVI_TARGETS) | |
69 | |
70 # Note that all the Info targets build the Info files | |
71 # in srcdir. There is no provision for Info files | |
72 # to exist in the build directory. | |
73 # In a distribution of Emacs, the Info files should be up to date. | |
74 | |
75 # The following target uses an explicit -o switch to work around | |
76 # the @setfilename directive in info.texi, which is required for | |
77 # the Texinfo distribution. | |
78 # Some Windows ports of makeinfo seem to require -o to come before the | |
79 # texi filename, contrary to GNU standards. | |
80 | |
81 $(infodir)/dir: | |
82 $(MULTI_INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS) | |
83 | |
84 $(infodir)/info: $(INFOSOURCES) | |
85 $(MAKEINFO) --no-split -o $@ info.texi | |
86 | |
87 info.dvi: $(INFOSOURCES) | |
88 $(ENVADD) $(TEXI2DVI) $(srcdir)/info.texi | |
89 | |
90 | |
91 $(infodir)/ccmode: cc-mode.texi | |
92 $(MAKEINFO) cc-mode.texi | |
93 cc-mode.dvi: cc-mode.texi | |
94 $(ENVADD) $(TEXI2DVI) $(srcdir)/cc-mode.texi | |
95 | |
96 $(infodir)/ada-mode: ada-mode.texi | |
97 $(MAKEINFO) ada-mode.texi | |
98 ada-mode.dvi: ada-mode.texi | |
99 $(ENVADD) $(TEXI2DVI) $(srcdir)/ada-mode.texi | |
100 | |
101 $(infodir)/pcl-cvs: pcl-cvs.texi | |
102 $(MAKEINFO) pcl-cvs.texi | |
103 pcl-cvs.dvi: pcl-cvs.texi | |
104 $(ENVADD) $(TEXI2DVI) $(srcdir)/pcl-cvs.texi | |
105 | |
106 $(infodir)/eshell: eshell.texi | |
107 $(MAKEINFO) eshell.texi | |
108 eshell.dvi: eshell.texi | |
109 $(ENVADD) $(TEXI2DVI) $(srcdir)/eshell.texi | |
110 | |
111 $(infodir)/cl: cl.texi | |
112 $(MAKEINFO) cl.texi | |
113 cl.dvi: cl.texi | |
114 $(ENVADD) $(TEXI2DVI) $(srcdir)/cl.texi | |
115 | |
116 $(infodir)/dired-x: dired-x.texi | |
117 $(MAKEINFO) dired-x.texi | |
118 dired-x.dvi: dired-x.texi | |
119 $(ENVADD) $(TEXI2DVI) $(srcdir)/dired-x.texi | |
120 | |
121 $(infodir)/ediff: ediff.texi | |
122 $(MAKEINFO) ediff.texi | |
123 ediff.dvi: ediff.texi | |
124 $(ENVADD) $(TEXI2DVI) $(srcdir)/ediff.texi | |
125 | |
126 $(infodir)/flymake: flymake.texi | |
127 $(MAKEINFO) flymake.texi | |
128 flymake.dvi: flymake.texi | |
129 $(ENVADD) $(TEXI2DVI) $(srcdir)/flymake.texi | |
130 | |
131 $(infodir)/forms: forms.texi | |
132 $(MAKEINFO) forms.texi | |
133 forms.dvi: forms.texi | |
134 $(ENVADD) $(TEXI2DVI) $(srcdir)/forms.texi | |
135 | |
136 # gnus/message/emacs-mime/sieve/pgg are part of Gnus: | |
137 $(infodir)/gnus: gnus.texi | |
138 $(MAKEINFO) gnus.texi | |
139 gnus.dvi: gnus.texi | |
140 sed -e "/@iflatex/,/@end iflatex/d" $(srcdir)/gnus.texi > gnustmp.texi | |
141 $(ENVADD) $(TEXI2DVI) gnustmp.texi | |
142 cp gnustmp.dvi $*.dvi | |
143 rm gnustmp.* | |
144 # | |
145 $(infodir)/message: message.texi | |
146 $(MAKEINFO) message.texi | |
147 message.dvi: message.texi | |
148 $(ENVADD) $(TEXI2DVI) $(srcdir)/message.texi | |
149 # | |
150 $(infodir)/emacs-mime: emacs-mime.texi | |
151 $(MAKEINFO) --enable-encoding emacs-mime.texi | |
152 emacs-mime.dvi: emacs-mime.texi | |
153 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-mime.texi | |
154 # | |
155 $(infodir)/sieve: sieve.texi | |
156 $(MAKEINFO) sieve.texi | |
157 sieve.dvi: sieve.texi | |
158 $(ENVADD) $(TEXI2DVI) $(srcdir)/sieve.texi | |
159 # | |
160 $(infodir)/pgg: pgg.texi | |
161 $(MAKEINFO) pgg.texi | |
162 pgg.dvi: pgg.texi | |
163 $(ENVADD) $(TEXI2DVI) $(srcdir)/pgg.texi | |
164 | |
165 $(infodir)/mh-e: mh-e.texi | |
166 $(MAKEINFO) mh-e.texi | |
167 mh-e.dvi: mh-e.texi | |
168 $(ENVADD) $(TEXI2DVI) $(srcdir)/mh-e.texi | |
169 | |
170 $(infodir)/reftex: reftex.texi | |
171 $(MAKEINFO) reftex.texi | |
172 reftex.dvi: reftex.texi | |
173 $(ENVADD) $(TEXI2DVI) $(srcdir)/reftex.texi | |
174 | |
175 $(infodir)/sc: sc.texi | |
176 $(MAKEINFO) sc.texi | |
177 sc.dvi: sc.texi | |
178 $(ENVADD) $(TEXI2DVI) $(srcdir)/sc.texi | |
179 | |
180 $(infodir)/vip: vip.texi | |
181 $(MAKEINFO) vip.texi | |
182 vip.dvi: vip.texi | |
183 $(ENVADD) $(TEXI2DVI) $(srcdir)/vip.texi | |
184 | |
185 $(infodir)/viper: viper.texi | |
186 $(MAKEINFO) viper.texi | |
187 viper.dvi: viper.texi | |
188 $(ENVADD) $(TEXI2DVI) $(srcdir)/viper.texi | |
189 | |
190 $(infodir)/widget: widget.texi | |
191 $(MAKEINFO) widget.texi | |
192 widget.dvi: widget.texi | |
193 $(ENVADD) $(TEXI2DVI) $(srcdir)/widget.texi | |
194 | |
195 $(infodir)/efaq: faq.texi | |
196 $(MAKEINFO) faq.texi | |
197 faq.dvi: faq.texi | |
198 $(ENVADD) $(TEXI2DVI) $(srcdir)/faq.texi | |
199 | |
200 $(infodir)/autotype: autotype.texi | |
201 $(MAKEINFO) autotype.texi | |
202 autotype.dvi: autotype.texi | |
203 $(ENVADD) $(TEXI2DVI) $(srcdir)/autotype.texi | |
204 | |
205 $(infodir)/calc: calc.texi | |
206 $(MAKEINFO) calc.texi | |
207 | |
208 calc.dvi: calc.texi | |
209 $(ENVADD) $(TEXI2DVI) $(srcdir)/calc.texi | |
210 | |
211 # This is produced with --no-split to avoid making files whose | |
212 # names clash on DOS 8+3 filesystems | |
213 $(infodir)/idlwave: idlwave.texi | |
214 $(MAKEINFO) --no-split idlwave.texi | |
215 idlwave.dvi: idlwave.texi | |
216 $(ENVADD) $(TEXI2DVI) $(srcdir)/idlwave.texi | |
217 | |
218 $(infodir)/eudc: eudc.texi | |
219 $(MAKEINFO) eudc.texi | |
220 eudc.dvi: eudc.texi | |
221 $(ENVADD) $(TEXI2DVI) $(srcdir)/eudc.texi | |
222 | |
223 $(infodir)/ebrowse: ebrowse.texi | |
224 $(MAKEINFO) ebrowse.texi | |
225 ebrowse.dvi: ebrowse.texi | |
226 $(ENVADD) $(TEXI2DVI) $(srcdir)/ebrowse.texi | |
227 | |
228 $(infodir)/woman: woman.texi | |
229 $(MAKEINFO) woman.texi | |
230 woman.dvi: woman.texi | |
231 $(ENVADD) $(TEXI2DVI) $(srcdir)/woman.texi | |
232 | |
233 $(infodir)/speedbar: speedbar.texi | |
234 $(MAKEINFO) speedbar.texi | |
235 speedbar.dvi: speedbar.texi | |
236 $(ENVADD) $(TEXI2DVI) $(srcdir)/speedbar.texi | |
237 | |
238 $(infodir)/tramp: tramp.texi | |
239 $(MAKEINFO) tramp.texi | |
240 tramp.dvi: tramp.texi | |
241 $(ENVADD) $(TEXI2DVI) $(srcdir)/tramp.texi | |
242 | |
243 $(infodir)/ses: ses.texi | |
244 $(MAKEINFO) ses.texi | |
245 ses.dvi: ses.texi | |
246 $(ENVADD) $(TEXI2DVI) $(srcdir)/ses.texi | |
247 | |
248 $(infodir)/smtpmail: smtpmail.texi | |
249 $(MAKEINFO) smtpmail.texi | |
250 smtpmail.dvi: smtpmail.texi | |
251 $(ENVADD) $(TEXI2DVI) $(srcdir)/smtpmail.texi | |
252 | |
253 $(infodir)/org: org.texi | |
254 $(MAKEINFO) org.texi | |
255 org.dvi: org.texi | |
256 $(ENVADD) $(TEXI2DVI) $(srcdir)/org.texi | |
257 | |
258 $(infodir)/url: url.texi | |
259 $(MAKEINFO) url.texi | |
260 url.dvi: url.texi | |
261 $(ENVADD) $(TEXI2DVI) $(srcdir)/url.texi | |
262 | |
263 $(infodir)/newsticker: newsticker.texi | |
264 $(MAKEINFO) newsticker.texi | |
265 newsticker.dvi: newsticker.texi | |
266 $(ENVADD) $(TEXI2DVI) $(srcdir)/newsticker.texi | |
267 | |
268 $(infodir)/rcirc: rcirc.texi | |
269 $(MAKEINFO) rcirc.texi | |
270 rcirc.dvi: rcirc.texi | |
271 $(ENVADD) $(TEXI2DVI) $(srcdir)/rcirc.texi | |
272 | |
273 $(infodir)/erc: erc.texi | |
274 $(MAKEINFO) erc.texi | |
275 erc.dvi: erc.texi | |
276 $(ENVADD) $(TEXI2DVI) $(srcdir)/erc.texi | |
277 | |
278 mostlyclean: | |
279 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr core *.tp *.core gnustmp.* | |
280 | |
281 clean: mostlyclean | |
282 - $(DEL) *.dvi | |
84328
c5789597edd9
Move the parts of the old man/makefile.w32-in that do not refer to the
Glenn Morris <rgm@gnu.org>
parents:
84304
diff
changeset
|
283 - $(DEL) $(infodir)/ccmode* \ |
84304 | 284 $(infodir)/cl* $(infodir)/dired-x* \ |
285 $(infodir)/ediff* $(infodir)/forms* \ | |
286 $(infodir)/gnus* $(infodir)/info* \ | |
287 $(infodir)/message* $(infodir)/mh-e* \ | |
288 $(infodir)/reftex* $(infodir)/sc* \ | |
289 $(infodir)/vip* $(infodir)/widget* \ | |
290 $(infodir)/efaq* $(infodir)/ada-mode* \ | |
291 $(infodir)/autotype* $(infodir)/calc* \ | |
292 $(infodir)/idlwave* $(infodir)/eudc* \ | |
293 $(infodir)/ebrowse* $(infodir)/pcl-cvs* \ | |
294 $(infodir)/woman* $(infodir)/eshell* \ | |
295 $(infodir)/speedbar* $(infodir)/tramp* \ | |
296 $(infodir)/ses* $(infodir)/smtpmail* \ | |
297 $(infodir)/url* $(infodir)/org* \ | |
298 $(infodir)/flymake* $(infodir)/newsticker* \ | |
299 $(infodir)/sieve* $(infodir)/pgg* \ | |
300 $(infodir)/erc* $(infodir)/rcirc* | |
301 | |
302 distclean: clean | |
303 | |
304 maintainer-clean: distclean | |
305 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc | |
306 # Don't delete these, because they are outside the current directory. | |
307 # for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
308 | |
309 | |
310 # Formerly this directory had texindex.c and getopt.c in it | |
311 # and this makefile built them to make texindex. | |
312 # That caused trouble because this is run entirely in the source directory. | |
313 # Since we expect to get texi2dvi from elsewhere, | |
314 # it is ok to expect texindex from elsewhere also. |