Mercurial > emacs
annotate man/makefile.w32-in @ 55859:1b12270c8c78
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 30 May 2004 13:35:41 +0000 |
parents | d10ff2411271 |
children | bb6720f21c54 |
rev | line source |
---|---|
55092
9077e3f7cd49
Add "-*- makefile -*-" mode tag.
Juanma Barranquero <lekktu@gmail.com>
parents:
54200
diff
changeset
|
1 #### -*- Makefile -*- for the Emacs Manual and other documentation. |
52423 | 2 |
55841
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
3 # Copyright (C) 2003, 2004 |
52423 | 4 # Free Software Foundation, Inc. |
5 | |
6 # This file is part of GNU Emacs. | |
7 | |
8 # GNU Emacs is free software; you can redistribute it and/or modify | |
9 # it under the terms of the GNU General Public License as published by | |
10 # the Free Software Foundation; either version 2, or (at your option) | |
11 # any later version. | |
12 | |
13 # GNU Emacs is distributed in the hope that it will be useful, | |
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 # GNU General Public License for more details. | |
17 | |
18 # You should have received a copy of the GNU General Public License | |
19 # along with GNU Emacs; see the file COPYING. If not, write to | |
20 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
21 # Boston, MA 02111-1307, USA. | |
22 | |
23 # Where to find the source code. The source code for Emacs's C kernel is | |
24 # expected to be in $(srcdir)/src, and the source code for Emacs's | |
25 # utility programs is expected to be in $(srcdir)/lib-src. This is | |
26 # set by the configure script's `--srcdir' option. | |
27 srcdir=. | |
28 | |
29 infodir = $(srcdir)/../info | |
30 | |
31 # The makeinfo program is part of the Texinfo distribution. | |
32 MAKEINFO = makeinfo | |
55355 | 33 MULTI_INSTALL_INFO = $(srcdir)\..\nt\multi-install-info.bat |
52423 | 34 INFO_TARGETS = $(infodir)/emacs $(infodir)/ccmode \ |
35 $(infodir)/cl $(infodir)/dired-x \ | |
36 $(infodir)/ediff $(infodir)/forms \ | |
37 $(infodir)/gnus $(infodir)/info \ | |
38 $(infodir)/message $(infodir)/mh-e \ | |
39 $(infodir)/reftex $(infodir)/sc \ | |
40 $(infodir)/vip $(infodir)/viper \ | |
41 $(infodir)/widget $(infodir)/efaq \ | |
42 $(infodir)/ada-mode $(infodir)/autotype \ | |
43 $(infodir)/calc $(infodir)/idlwave \ | |
44 $(infodir)/eudc $(infodir)/ebrowse \ | |
45 $(infodir)/pcl-cvs $(infodir)/woman \ | |
46 $(infodir)/emacs-mime $(infodir)/eshell \ | |
47 $(infodir)/speedbar $(infodir)/tramp \ | |
55841
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
48 $(infodir)/ses $(infodir)/smtpmail \ |
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
49 $(infodir)/flymake |
52423 | 50 DVI_TARGETS = emacs.dvi calc.dvi cc-mode.dvi cl.dvi dired-x.dvi \ |
51 ediff.dvi forms.dvi gnus.dvi message.dvi mh-e.dvi \ | |
52 reftex.dvi sc.dvi vip.dvi viper.dvi widget.dvi faq.dvi \ | |
53 ada-mode.dvi autotype.dvi idlwave.dvi eudc.dvi ebrowse.dvi \ | |
54 pcl-cvs.dvi woman.dvi emacs-mime.dvi eshell.dvi \ | |
55841
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
55 speedbar.dvi tramp.dvi ses.dvi smtpmail.dvi flymake.dvi |
52423 | 56 INFOSOURCES = info.texi |
57 | |
58 # The following rule does not work with all versions of `make'. | |
59 .SUFFIXES: .texi .dvi | |
60 .texi.dvi: | |
61 texi2dvi $< | |
62 | |
63 TEXI2DVI = texi2dvi | |
55355 | 64 ENVADD = $(srcdir)\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ |
52423 | 65 "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C |
66 | |
67 EMACSSOURCES= \ | |
68 $(srcdir)/emacs.texi \ | |
69 $(srcdir)/doclicense.texi \ | |
70 $(srcdir)/screen.texi \ | |
71 $(srcdir)/commands.texi \ | |
72 $(srcdir)/entering.texi \ | |
73 $(srcdir)/basic.texi \ | |
74 $(srcdir)/mini.texi \ | |
75 $(srcdir)/m-x.texi \ | |
76 $(srcdir)/help.texi \ | |
77 $(srcdir)/mark.texi \ | |
78 $(srcdir)/killing.texi \ | |
79 $(srcdir)/regs.texi \ | |
80 $(srcdir)/display.texi \ | |
81 $(srcdir)/search.texi \ | |
82 $(srcdir)/fixit.texi \ | |
83 $(srcdir)/files.texi \ | |
84 $(srcdir)/buffers.texi \ | |
85 $(srcdir)/windows.texi \ | |
86 $(srcdir)/frames.texi \ | |
87 $(srcdir)/mule.texi \ | |
88 $(srcdir)/major.texi \ | |
89 $(srcdir)/indent.texi \ | |
90 $(srcdir)/text.texi \ | |
91 $(srcdir)/programs.texi \ | |
92 $(srcdir)/building.texi \ | |
93 $(srcdir)/maintaining.texi \ | |
94 $(srcdir)/abbrevs.texi \ | |
95 $(srcdir)/picture.texi \ | |
96 $(srcdir)/sending.texi \ | |
97 $(srcdir)/rmail.texi \ | |
98 $(srcdir)/dired.texi \ | |
99 $(srcdir)/calendar.texi \ | |
100 $(srcdir)/misc.texi \ | |
101 $(srcdir)/custom.texi \ | |
102 $(srcdir)/trouble.texi \ | |
103 $(srcdir)/cmdargs.texi \ | |
104 $(srcdir)/xresources.texi \ | |
105 $(srcdir)/anti.texi \ | |
106 $(srcdir)/macos.texi \ | |
107 $(srcdir)/msdog.texi \ | |
108 $(srcdir)/gnu.texi \ | |
109 $(srcdir)/glossary.texi \ | |
110 $(srcdir)/ack.texi \ | |
111 $(srcdir)/kmacro.texi | |
112 | |
113 info: $(INFO_TARGETS) | |
114 $(MULTI_INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS) | |
115 | |
116 dvi: $(DVI_TARGETS) | |
117 | |
118 # Note that all the Info targets build the Info files | |
119 # in srcdir. There is no provision for Info files | |
120 # to exist in the build directory. | |
121 # In a distribution of Emacs, the Info files should be up to date. | |
122 | |
123 # The following target uses an explicit -o switch to work around | |
124 # the @setfilename directive in info.texi, which is required for | |
125 # the Texinfo distribution. | |
126 | |
127 $(infodir)/info: $(INFOSOURCES) | |
128 $(MAKEINFO) --no-split info.texi -o $@ | |
129 | |
130 info.dvi: $(INFOSOURCES) | |
131 $(ENVADD) $(TEXI2DVI) $(srcdir)/info.texi | |
132 | |
133 $(infodir)/emacs: $(EMACSSOURCES) | |
134 $(MAKEINFO) emacs.texi | |
135 | |
136 emacs.dvi: $(EMACSSOURCES) | |
137 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs.texi | |
138 | |
139 # This target is here so you could easily get the list of the *.texi | |
140 # files which belong to the Emacs manual (as opposed to the separate | |
141 # manuals for CL, CC Mode, Ebrowse, etc.). With this target, you can | |
142 # say things like "grep foo `make emacsman`". | |
143 emacsman: | |
144 @echo $(EMACSSOURCES) | |
145 | |
146 $(infodir)/ccmode: cc-mode.texi | |
147 $(MAKEINFO) cc-mode.texi | |
148 cc-mode.dvi: cc-mode.texi | |
149 $(ENVADD) $(TEXI2DVI) $(srcdir)/cc-mode.texi | |
150 | |
151 $(infodir)/ada-mode: ada-mode.texi | |
152 $(MAKEINFO) ada-mode.texi | |
153 ada-mode.dvi: ada-mode.texi | |
154 $(ENVADD) $(TEXI2DVI) $(srcdir)/ada-mode.texi | |
155 | |
156 $(infodir)/pcl-cvs: pcl-cvs.texi | |
157 $(MAKEINFO) pcl-cvs.texi | |
158 pcl-cvs.dvi: pcl-cvs.texi | |
159 $(ENVADD) $(TEXI2DVI) $(srcdir)/pcl-cvs.texi | |
160 | |
161 $(infodir)/eshell: eshell.texi | |
162 $(MAKEINFO) eshell.texi | |
163 eshell.dvi: eshell.texi | |
164 $(ENVADD) $(TEXI2DVI) $(srcdir)/eshell.texi | |
165 | |
166 $(infodir)/cl: cl.texi | |
167 $(MAKEINFO) cl.texi | |
168 cl.dvi: cl.texi | |
169 $(ENVADD) $(TEXI2DVI) $(srcdir)/cl.texi | |
170 | |
171 $(infodir)/dired-x: dired-x.texi | |
172 $(MAKEINFO) dired-x.texi | |
173 dired-x.dvi: dired-x.texi | |
174 $(ENVADD) $(TEXI2DVI) $(srcdir)/dired-x.texi | |
175 | |
176 $(infodir)/ediff: ediff.texi | |
177 $(MAKEINFO) ediff.texi | |
178 ediff.dvi: ediff.texi | |
179 $(ENVADD) $(TEXI2DVI) $(srcdir)/ediff.texi | |
180 | |
55841
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
181 $(infodir)/flymake: flymake.texi |
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
182 $(MAKEINFO) flymake.texi |
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
183 flymake.dvi: flymake.texi |
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
184 $(ENVADD) $(TEXI2DVI) $(srcdir)/flymake.texi |
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
185 |
52423 | 186 $(infodir)/forms: forms.texi |
187 $(MAKEINFO) forms.texi | |
188 forms.dvi: forms.texi | |
189 $(ENVADD) $(TEXI2DVI) $(srcdir)/forms.texi | |
190 | |
191 $(infodir)/gnus: gnus.texi | |
192 $(MAKEINFO) gnus.texi | |
193 gnus.dvi: gnus.texi | |
55841
d10ff2411271
(../info/flymake, flymake.dvi): New targets.
Juanma Barranquero <lekktu@gmail.com>
parents:
55355
diff
changeset
|
194 sed -e '/@iflatex/,/@end iflatex/d' $(srcdir)/gnus.texi > gnustmp.texi |
52423 | 195 $(ENVADD) $(TEXI2DVI) gnustmp.texi |
196 cp gnustmp.dvi $*.dvi | |
197 rm gnustmp.* | |
198 | |
199 $(infodir)/message: message.texi | |
200 $(MAKEINFO) message.texi | |
201 message.dvi: message.texi | |
202 $(ENVADD) $(TEXI2DVI) $(srcdir)/message.texi | |
203 | |
204 $(infodir)/mh-e: mh-e.texi | |
205 $(MAKEINFO) mh-e.texi | |
206 mh-e.dvi: mh-e.texi | |
207 $(ENVADD) $(TEXI2DVI) $(srcdir)/mh-e.texi | |
208 | |
209 $(infodir)/reftex: reftex.texi | |
210 $(MAKEINFO) reftex.texi | |
211 reftex.dvi: reftex.texi | |
212 $(ENVADD) $(TEXI2DVI) $(srcdir)/reftex.texi | |
213 | |
214 $(infodir)/sc: sc.texi | |
215 $(MAKEINFO) sc.texi | |
216 sc.dvi: sc.texi | |
217 $(ENVADD) $(TEXI2DVI) $(srcdir)/sc.texi | |
218 | |
219 $(infodir)/vip: vip.texi | |
220 $(MAKEINFO) vip.texi | |
221 vip.dvi: vip.texi | |
222 $(ENVADD) $(TEXI2DVI) $(srcdir)/vip.texi | |
223 | |
224 $(infodir)/viper: viper.texi | |
225 $(MAKEINFO) viper.texi | |
226 viper.dvi: viper.texi | |
227 $(ENVADD) $(TEXI2DVI) $(srcdir)/viper.texi | |
228 | |
229 $(infodir)/widget: widget.texi | |
230 $(MAKEINFO) widget.texi | |
231 widget.dvi: widget.texi | |
232 $(ENVADD) $(TEXI2DVI) $(srcdir)/widget.texi | |
233 | |
234 $(infodir)/efaq: faq.texi | |
235 $(MAKEINFO) faq.texi | |
236 faq.dvi: faq.texi | |
237 $(ENVADD) $(TEXI2DVI) $(srcdir)/faq.texi | |
238 | |
239 ../etc/GNU: gnu1.texi gnu.texi | |
240 $(MAKEINFO) --no-headers -o ../etc/GNU gnu1.texi | |
241 | |
242 $(infodir)/autotype: autotype.texi | |
243 $(MAKEINFO) autotype.texi | |
244 autotype.dvi: autotype.texi | |
245 $(ENVADD) $(TEXI2DVI) $(srcdir)/autotype.texi | |
246 | |
247 $(infodir)/calc: calc.texi | |
248 $(MAKEINFO) calc.texi | |
249 | |
250 calc.dvi: calc.texi | |
251 $(ENVADD) $(TEXI2DVI) $(srcdir)/calc.texi | |
252 | |
253 # This is produced with --no-split to avoid making files whose | |
254 # names clash on DOS 8+3 filesystems | |
255 $(infodir)/idlwave: idlwave.texi | |
256 $(MAKEINFO) --no-split idlwave.texi | |
257 idlwave.dvi: idlwave.texi | |
258 $(ENVADD) $(TEXI2DVI) $(srcdir)/idlwave.texi | |
259 | |
260 $(infodir)/eudc: eudc.texi | |
261 $(MAKEINFO) eudc.texi | |
262 eudc.dvi: eudc.texi | |
263 $(ENVADD) $(TEXI2DVI) $(srcdir)/eudc.texi | |
264 | |
265 $(infodir)/ebrowse: ebrowse.texi | |
266 $(MAKEINFO) ebrowse.texi | |
267 ebrowse.dvi: ebrowse.texi | |
268 $(ENVADD) $(TEXI2DVI) $(srcdir)/ebrowse.texi | |
269 | |
270 $(infodir)/woman: woman.texi | |
271 $(MAKEINFO) woman.texi | |
272 woman.dvi: woman.texi | |
273 $(ENVADD) $(TEXI2DVI) $(srcdir)/woman.texi | |
274 | |
275 $(infodir)/speedbar: speedbar.texi | |
276 $(MAKEINFO) speedbar.texi | |
277 speedbar.dvi: speedbar.texi | |
278 $(ENVADD) $(TEXI2DVI) $(srcdir)/speedbar.texi | |
279 | |
280 $(infodir)/emacs-mime: emacs-mime.texi | |
281 $(MAKEINFO) emacs-mime.texi | |
282 emacs-mime.dvi: emacs-mime.texi | |
283 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-mime.texi | |
284 | |
285 $(infodir)/tramp: tramp.texi | |
286 $(MAKEINFO) tramp.texi | |
287 tramp.dvi: tramp.texi | |
288 $(ENVADD) $(TEXI2DVI) $(srcdir)/tramp.texi | |
289 | |
290 $(infodir)/ses: ses.texi | |
291 $(MAKEINFO) ses.texi | |
292 ses.dvi: ses.texi | |
293 $(ENVADD) $(TEXI2DVI) $(srcdir)/ses.texi | |
294 | |
295 $(infodir)/smtpmail: smtpmail.texi | |
296 $(MAKEINFO) smtpmail.texi | |
297 smtpmail.dvi: smtpmail.texi | |
298 $(ENVADD) $(TEXI2DVI) $(srcdir)/smtpmail.texi | |
299 | |
300 mostlyclean: | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
301 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr core *.tp *.core gnustmp.* |
52423 | 302 |
303 clean: mostlyclean | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
304 - $(DEL) *.dvi |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
305 - $(DEL) $(infodir)/emacs* $(infodir)/ccmode* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
306 $(infodir)/cl* $(infodir)/dired-x* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
307 $(infodir)/ediff* $(infodir)/forms* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
308 $(infodir)/gnus* $(infodir)/info* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
309 $(infodir)/message* $(infodir)/mh-e* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
310 $(infodir)/reftex* $(infodir)/sc* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
311 $(infodir)/vip* $(infodir)/viper* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
312 $(infodir)/widget* $(infodir)/efaq* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
313 $(infodir)/ada-mode* $(infodir)/autotype* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
314 $(infodir)/calc* $(infodir)/idlwave* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
315 $(infodir)/eudc* $(infodir)/ebrowse* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
316 $(infodir)/pcl-cvs* $(infodir)/woman* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
317 $(infodir)/emacs-mime* $(infodir)/eshell* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
318 $(infodir)/speedbar* $(infodir)/tramp* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
319 $(infodir)/ses* $(infodir)/smtpmail* |
52423 | 320 |
321 distclean: clean | |
322 | |
323 maintainer-clean: distclean | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
324 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc |
52423 | 325 # Don't delete these, because they are outside the current directory. |
326 # for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
327 | |
328 | |
329 # Formerly this directory had texindex.c and getopt.c in it | |
330 # and this makefile built them to make texindex. | |
331 # That caused trouble because this is run entirely in the source directory. | |
332 # Since we expect to get texi2dvi from elsewhere, | |
333 # it is ok to expect texindex from elsewhere also. | |
52428 | 334 |
335 # arch-tag: 6e99da59-ad27-4816-82a0-cde9a101efae |