Mercurial > emacs
annotate man/makefile.w32-in @ 55669:e9d29580c8ea
*** empty log message ***
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 18 May 2004 16:38:40 +0000 |
parents | 4cabc1af8aa2 |
children | d10ff2411271 |
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 |
52425 | 3 # Copyright (C) 2003 |
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 \ | |
48 $(infodir)/ses $(infodir)/smtpmail | |
49 DVI_TARGETS = emacs.dvi calc.dvi cc-mode.dvi cl.dvi dired-x.dvi \ | |
50 ediff.dvi forms.dvi gnus.dvi message.dvi mh-e.dvi \ | |
51 reftex.dvi sc.dvi vip.dvi viper.dvi widget.dvi faq.dvi \ | |
52 ada-mode.dvi autotype.dvi idlwave.dvi eudc.dvi ebrowse.dvi \ | |
53 pcl-cvs.dvi woman.dvi emacs-mime.dvi eshell.dvi \ | |
54 speedbar.dvi tramp.dvi ses.dvi smtpmail.dvi | |
55 INFOSOURCES = info.texi | |
56 | |
57 # The following rule does not work with all versions of `make'. | |
58 .SUFFIXES: .texi .dvi | |
59 .texi.dvi: | |
60 texi2dvi $< | |
61 | |
62 TEXI2DVI = texi2dvi | |
55355 | 63 ENVADD = $(srcdir)\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ |
52423 | 64 "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C |
65 | |
66 EMACSSOURCES= \ | |
67 $(srcdir)/emacs.texi \ | |
68 $(srcdir)/doclicense.texi \ | |
69 $(srcdir)/screen.texi \ | |
70 $(srcdir)/commands.texi \ | |
71 $(srcdir)/entering.texi \ | |
72 $(srcdir)/basic.texi \ | |
73 $(srcdir)/mini.texi \ | |
74 $(srcdir)/m-x.texi \ | |
75 $(srcdir)/help.texi \ | |
76 $(srcdir)/mark.texi \ | |
77 $(srcdir)/killing.texi \ | |
78 $(srcdir)/regs.texi \ | |
79 $(srcdir)/display.texi \ | |
80 $(srcdir)/search.texi \ | |
81 $(srcdir)/fixit.texi \ | |
82 $(srcdir)/files.texi \ | |
83 $(srcdir)/buffers.texi \ | |
84 $(srcdir)/windows.texi \ | |
85 $(srcdir)/frames.texi \ | |
86 $(srcdir)/mule.texi \ | |
87 $(srcdir)/major.texi \ | |
88 $(srcdir)/indent.texi \ | |
89 $(srcdir)/text.texi \ | |
90 $(srcdir)/programs.texi \ | |
91 $(srcdir)/building.texi \ | |
92 $(srcdir)/maintaining.texi \ | |
93 $(srcdir)/abbrevs.texi \ | |
94 $(srcdir)/picture.texi \ | |
95 $(srcdir)/sending.texi \ | |
96 $(srcdir)/rmail.texi \ | |
97 $(srcdir)/dired.texi \ | |
98 $(srcdir)/calendar.texi \ | |
99 $(srcdir)/misc.texi \ | |
100 $(srcdir)/custom.texi \ | |
101 $(srcdir)/trouble.texi \ | |
102 $(srcdir)/cmdargs.texi \ | |
103 $(srcdir)/xresources.texi \ | |
104 $(srcdir)/anti.texi \ | |
105 $(srcdir)/macos.texi \ | |
106 $(srcdir)/msdog.texi \ | |
107 $(srcdir)/gnu.texi \ | |
108 $(srcdir)/glossary.texi \ | |
109 $(srcdir)/ack.texi \ | |
110 $(srcdir)/kmacro.texi | |
111 | |
112 info: $(INFO_TARGETS) | |
113 $(MULTI_INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS) | |
114 | |
115 dvi: $(DVI_TARGETS) | |
116 | |
117 # Note that all the Info targets build the Info files | |
118 # in srcdir. There is no provision for Info files | |
119 # to exist in the build directory. | |
120 # In a distribution of Emacs, the Info files should be up to date. | |
121 | |
122 # The following target uses an explicit -o switch to work around | |
123 # the @setfilename directive in info.texi, which is required for | |
124 # the Texinfo distribution. | |
125 | |
126 $(infodir)/info: $(INFOSOURCES) | |
127 $(MAKEINFO) --no-split info.texi -o $@ | |
128 | |
129 info.dvi: $(INFOSOURCES) | |
130 $(ENVADD) $(TEXI2DVI) $(srcdir)/info.texi | |
131 | |
132 $(infodir)/emacs: $(EMACSSOURCES) | |
133 $(MAKEINFO) emacs.texi | |
134 | |
135 emacs.dvi: $(EMACSSOURCES) | |
136 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs.texi | |
137 | |
138 # This target is here so you could easily get the list of the *.texi | |
139 # files which belong to the Emacs manual (as opposed to the separate | |
140 # manuals for CL, CC Mode, Ebrowse, etc.). With this target, you can | |
141 # say things like "grep foo `make emacsman`". | |
142 emacsman: | |
143 @echo $(EMACSSOURCES) | |
144 | |
145 $(infodir)/ccmode: cc-mode.texi | |
146 $(MAKEINFO) cc-mode.texi | |
147 cc-mode.dvi: cc-mode.texi | |
148 $(ENVADD) $(TEXI2DVI) $(srcdir)/cc-mode.texi | |
149 | |
150 $(infodir)/ada-mode: ada-mode.texi | |
151 $(MAKEINFO) ada-mode.texi | |
152 ada-mode.dvi: ada-mode.texi | |
153 $(ENVADD) $(TEXI2DVI) $(srcdir)/ada-mode.texi | |
154 | |
155 $(infodir)/pcl-cvs: pcl-cvs.texi | |
156 $(MAKEINFO) pcl-cvs.texi | |
157 pcl-cvs.dvi: pcl-cvs.texi | |
158 $(ENVADD) $(TEXI2DVI) $(srcdir)/pcl-cvs.texi | |
159 | |
160 $(infodir)/eshell: eshell.texi | |
161 $(MAKEINFO) eshell.texi | |
162 eshell.dvi: eshell.texi | |
163 $(ENVADD) $(TEXI2DVI) $(srcdir)/eshell.texi | |
164 | |
165 $(infodir)/cl: cl.texi | |
166 $(MAKEINFO) cl.texi | |
167 cl.dvi: cl.texi | |
168 $(ENVADD) $(TEXI2DVI) $(srcdir)/cl.texi | |
169 | |
170 $(infodir)/dired-x: dired-x.texi | |
171 $(MAKEINFO) dired-x.texi | |
172 dired-x.dvi: dired-x.texi | |
173 $(ENVADD) $(TEXI2DVI) $(srcdir)/dired-x.texi | |
174 | |
175 $(infodir)/ediff: ediff.texi | |
176 $(MAKEINFO) ediff.texi | |
177 ediff.dvi: ediff.texi | |
178 $(ENVADD) $(TEXI2DVI) $(srcdir)/ediff.texi | |
179 | |
180 $(infodir)/forms: forms.texi | |
181 $(MAKEINFO) forms.texi | |
182 forms.dvi: forms.texi | |
183 $(ENVADD) $(TEXI2DVI) $(srcdir)/forms.texi | |
184 | |
185 $(infodir)/gnus: gnus.texi | |
186 $(MAKEINFO) gnus.texi | |
187 gnus.dvi: gnus.texi | |
188 sed -e '/@iflatex/,/@end iflatex/d' $(srcdir)/gnus.texi > gnustmp.texi | |
189 $(ENVADD) $(TEXI2DVI) gnustmp.texi | |
190 cp gnustmp.dvi $*.dvi | |
191 rm gnustmp.* | |
192 | |
193 $(infodir)/message: message.texi | |
194 $(MAKEINFO) message.texi | |
195 message.dvi: message.texi | |
196 $(ENVADD) $(TEXI2DVI) $(srcdir)/message.texi | |
197 | |
198 $(infodir)/mh-e: mh-e.texi | |
199 $(MAKEINFO) mh-e.texi | |
200 mh-e.dvi: mh-e.texi | |
201 $(ENVADD) $(TEXI2DVI) $(srcdir)/mh-e.texi | |
202 | |
203 $(infodir)/reftex: reftex.texi | |
204 $(MAKEINFO) reftex.texi | |
205 reftex.dvi: reftex.texi | |
206 $(ENVADD) $(TEXI2DVI) $(srcdir)/reftex.texi | |
207 | |
208 $(infodir)/sc: sc.texi | |
209 $(MAKEINFO) sc.texi | |
210 sc.dvi: sc.texi | |
211 $(ENVADD) $(TEXI2DVI) $(srcdir)/sc.texi | |
212 | |
213 $(infodir)/vip: vip.texi | |
214 $(MAKEINFO) vip.texi | |
215 vip.dvi: vip.texi | |
216 $(ENVADD) $(TEXI2DVI) $(srcdir)/vip.texi | |
217 | |
218 $(infodir)/viper: viper.texi | |
219 $(MAKEINFO) viper.texi | |
220 viper.dvi: viper.texi | |
221 $(ENVADD) $(TEXI2DVI) $(srcdir)/viper.texi | |
222 | |
223 $(infodir)/widget: widget.texi | |
224 $(MAKEINFO) widget.texi | |
225 widget.dvi: widget.texi | |
226 $(ENVADD) $(TEXI2DVI) $(srcdir)/widget.texi | |
227 | |
228 $(infodir)/efaq: faq.texi | |
229 $(MAKEINFO) faq.texi | |
230 faq.dvi: faq.texi | |
231 $(ENVADD) $(TEXI2DVI) $(srcdir)/faq.texi | |
232 | |
233 ../etc/GNU: gnu1.texi gnu.texi | |
234 $(MAKEINFO) --no-headers -o ../etc/GNU gnu1.texi | |
235 | |
236 $(infodir)/autotype: autotype.texi | |
237 $(MAKEINFO) autotype.texi | |
238 autotype.dvi: autotype.texi | |
239 $(ENVADD) $(TEXI2DVI) $(srcdir)/autotype.texi | |
240 | |
241 $(infodir)/calc: calc.texi | |
242 $(MAKEINFO) calc.texi | |
243 | |
244 calc.dvi: calc.texi | |
245 $(ENVADD) $(TEXI2DVI) $(srcdir)/calc.texi | |
246 | |
247 # This is produced with --no-split to avoid making files whose | |
248 # names clash on DOS 8+3 filesystems | |
249 $(infodir)/idlwave: idlwave.texi | |
250 $(MAKEINFO) --no-split idlwave.texi | |
251 idlwave.dvi: idlwave.texi | |
252 $(ENVADD) $(TEXI2DVI) $(srcdir)/idlwave.texi | |
253 | |
254 $(infodir)/eudc: eudc.texi | |
255 $(MAKEINFO) eudc.texi | |
256 eudc.dvi: eudc.texi | |
257 $(ENVADD) $(TEXI2DVI) $(srcdir)/eudc.texi | |
258 | |
259 $(infodir)/ebrowse: ebrowse.texi | |
260 $(MAKEINFO) ebrowse.texi | |
261 ebrowse.dvi: ebrowse.texi | |
262 $(ENVADD) $(TEXI2DVI) $(srcdir)/ebrowse.texi | |
263 | |
264 $(infodir)/woman: woman.texi | |
265 $(MAKEINFO) woman.texi | |
266 woman.dvi: woman.texi | |
267 $(ENVADD) $(TEXI2DVI) $(srcdir)/woman.texi | |
268 | |
269 $(infodir)/speedbar: speedbar.texi | |
270 $(MAKEINFO) speedbar.texi | |
271 speedbar.dvi: speedbar.texi | |
272 $(ENVADD) $(TEXI2DVI) $(srcdir)/speedbar.texi | |
273 | |
274 $(infodir)/emacs-mime: emacs-mime.texi | |
275 $(MAKEINFO) emacs-mime.texi | |
276 emacs-mime.dvi: emacs-mime.texi | |
277 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-mime.texi | |
278 | |
279 $(infodir)/tramp: tramp.texi | |
280 $(MAKEINFO) tramp.texi | |
281 tramp.dvi: tramp.texi | |
282 $(ENVADD) $(TEXI2DVI) $(srcdir)/tramp.texi | |
283 | |
284 $(infodir)/ses: ses.texi | |
285 $(MAKEINFO) ses.texi | |
286 ses.dvi: ses.texi | |
287 $(ENVADD) $(TEXI2DVI) $(srcdir)/ses.texi | |
288 | |
289 $(infodir)/smtpmail: smtpmail.texi | |
290 $(MAKEINFO) smtpmail.texi | |
291 smtpmail.dvi: smtpmail.texi | |
292 $(ENVADD) $(TEXI2DVI) $(srcdir)/smtpmail.texi | |
293 | |
294 mostlyclean: | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
295 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr core *.tp *.core gnustmp.* |
52423 | 296 |
297 clean: mostlyclean | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
298 - $(DEL) *.dvi |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
299 - $(DEL) $(infodir)/emacs* $(infodir)/ccmode* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
300 $(infodir)/cl* $(infodir)/dired-x* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
301 $(infodir)/ediff* $(infodir)/forms* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
302 $(infodir)/gnus* $(infodir)/info* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
303 $(infodir)/message* $(infodir)/mh-e* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
304 $(infodir)/reftex* $(infodir)/sc* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
305 $(infodir)/vip* $(infodir)/viper* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
306 $(infodir)/widget* $(infodir)/efaq* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
307 $(infodir)/ada-mode* $(infodir)/autotype* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
308 $(infodir)/calc* $(infodir)/idlwave* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
309 $(infodir)/eudc* $(infodir)/ebrowse* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
310 $(infodir)/pcl-cvs* $(infodir)/woman* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
311 $(infodir)/emacs-mime* $(infodir)/eshell* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
312 $(infodir)/speedbar* $(infodir)/tramp* \ |
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
313 $(infodir)/ses* $(infodir)/smtpmail* |
52423 | 314 |
315 distclean: clean | |
316 | |
317 maintainer-clean: distclean | |
54200
b0293635c42b
* man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents:
52428
diff
changeset
|
318 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc |
52423 | 319 # Don't delete these, because they are outside the current directory. |
320 # for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
321 | |
322 | |
323 # Formerly this directory had texindex.c and getopt.c in it | |
324 # and this makefile built them to make texindex. | |
325 # That caused trouble because this is run entirely in the source directory. | |
326 # Since we expect to get texi2dvi from elsewhere, | |
327 # it is ok to expect texindex from elsewhere also. | |
52428 | 328 |
329 # arch-tag: 6e99da59-ad27-4816-82a0-cde9a101efae |