Mercurial > emacs
annotate doc/misc/makefile.w32-in @ 86792:526e327aacb9
Move to lisp/.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 28 Nov 2007 08:04:10 +0000 |
parents | 5d15069189ff |
children | deb7d877e470 |
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 \ | |
85796
5ee8873552f8
(INFO_TARGETS): Add remember.
Juanma Barranquero <lekktu@gmail.com>
parents:
84328
diff
changeset
|
45 $(infodir)/newsticker $(infodir)/rcirc $(infodir)/erc \ |
86378
5d15069189ff
Fixups for nxml per Romain Francoise email.
Mark A. Hershberger <mah@everybody.org>
parents:
85796
diff
changeset
|
46 $(infodir)/remember $(infodir)/nxml-mode |
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
|
47 DVI_TARGETS = calc.dvi cc-mode.dvi cl.dvi dired-x.dvi \ |
84304 | 48 ediff.dvi forms.dvi gnus.dvi message.dvi emacs-mime.dvi \ |
49 gnus.dvi message.dvi sieve.dvi pgg.dvi mh-e.dvi \ | |
50 reftex.dvi sc.dvi vip.dvi viper.dvi widget.dvi faq.dvi \ | |
51 ada-mode.dvi autotype.dvi idlwave.dvi eudc.dvi ebrowse.dvi \ | |
52 pcl-cvs.dvi woman.dvi eshell.dvi org.dvi url.dvi \ | |
53 speedbar.dvi tramp.dvi ses.dvi smtpmail.dvi flymake.dvi \ | |
86378
5d15069189ff
Fixups for nxml per Romain Francoise email.
Mark A. Hershberger <mah@everybody.org>
parents:
85796
diff
changeset
|
54 newsticker.dvi rcirc.dvi erc.dvi remember.dvi nxml-mode.dvi |
84304 | 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 | |
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
|
63 ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ |
84304 | 64 "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C |
65 | |
66 | |
67 info: $(INFO_TARGETS) | |
68 | |
69 dvi: $(DVI_TARGETS) | |
70 | |
71 # Note that all the Info targets build the Info files | |
72 # in srcdir. There is no provision for Info files | |
73 # to exist in the build directory. | |
74 # In a distribution of Emacs, the Info files should be up to date. | |
75 | |
76 # The following target uses an explicit -o switch to work around | |
77 # the @setfilename directive in info.texi, which is required for | |
78 # the Texinfo distribution. | |
79 # Some Windows ports of makeinfo seem to require -o to come before the | |
80 # texi filename, contrary to GNU standards. | |
81 | |
82 $(infodir)/dir: | |
83 $(MULTI_INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS) | |
84 | |
85 $(infodir)/info: $(INFOSOURCES) | |
86 $(MAKEINFO) --no-split -o $@ info.texi | |
87 | |
88 info.dvi: $(INFOSOURCES) | |
89 $(ENVADD) $(TEXI2DVI) $(srcdir)/info.texi | |
90 | |
91 | |
92 $(infodir)/ccmode: cc-mode.texi | |
93 $(MAKEINFO) cc-mode.texi | |
94 cc-mode.dvi: cc-mode.texi | |
95 $(ENVADD) $(TEXI2DVI) $(srcdir)/cc-mode.texi | |
96 | |
97 $(infodir)/ada-mode: ada-mode.texi | |
98 $(MAKEINFO) ada-mode.texi | |
99 ada-mode.dvi: ada-mode.texi | |
100 $(ENVADD) $(TEXI2DVI) $(srcdir)/ada-mode.texi | |
101 | |
102 $(infodir)/pcl-cvs: pcl-cvs.texi | |
103 $(MAKEINFO) pcl-cvs.texi | |
104 pcl-cvs.dvi: pcl-cvs.texi | |
105 $(ENVADD) $(TEXI2DVI) $(srcdir)/pcl-cvs.texi | |
106 | |
107 $(infodir)/eshell: eshell.texi | |
108 $(MAKEINFO) eshell.texi | |
109 eshell.dvi: eshell.texi | |
110 $(ENVADD) $(TEXI2DVI) $(srcdir)/eshell.texi | |
111 | |
112 $(infodir)/cl: cl.texi | |
113 $(MAKEINFO) cl.texi | |
114 cl.dvi: cl.texi | |
115 $(ENVADD) $(TEXI2DVI) $(srcdir)/cl.texi | |
116 | |
117 $(infodir)/dired-x: dired-x.texi | |
118 $(MAKEINFO) dired-x.texi | |
119 dired-x.dvi: dired-x.texi | |
120 $(ENVADD) $(TEXI2DVI) $(srcdir)/dired-x.texi | |
121 | |
122 $(infodir)/ediff: ediff.texi | |
123 $(MAKEINFO) ediff.texi | |
124 ediff.dvi: ediff.texi | |
125 $(ENVADD) $(TEXI2DVI) $(srcdir)/ediff.texi | |
126 | |
127 $(infodir)/flymake: flymake.texi | |
128 $(MAKEINFO) flymake.texi | |
129 flymake.dvi: flymake.texi | |
130 $(ENVADD) $(TEXI2DVI) $(srcdir)/flymake.texi | |
131 | |
132 $(infodir)/forms: forms.texi | |
133 $(MAKEINFO) forms.texi | |
134 forms.dvi: forms.texi | |
135 $(ENVADD) $(TEXI2DVI) $(srcdir)/forms.texi | |
136 | |
137 # gnus/message/emacs-mime/sieve/pgg are part of Gnus: | |
138 $(infodir)/gnus: gnus.texi | |
139 $(MAKEINFO) gnus.texi | |
140 gnus.dvi: gnus.texi | |
141 sed -e "/@iflatex/,/@end iflatex/d" $(srcdir)/gnus.texi > gnustmp.texi | |
142 $(ENVADD) $(TEXI2DVI) gnustmp.texi | |
143 cp gnustmp.dvi $*.dvi | |
144 rm gnustmp.* | |
145 # | |
146 $(infodir)/message: message.texi | |
147 $(MAKEINFO) message.texi | |
148 message.dvi: message.texi | |
149 $(ENVADD) $(TEXI2DVI) $(srcdir)/message.texi | |
150 # | |
151 $(infodir)/emacs-mime: emacs-mime.texi | |
152 $(MAKEINFO) --enable-encoding emacs-mime.texi | |
153 emacs-mime.dvi: emacs-mime.texi | |
154 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-mime.texi | |
155 # | |
156 $(infodir)/sieve: sieve.texi | |
157 $(MAKEINFO) sieve.texi | |
158 sieve.dvi: sieve.texi | |
159 $(ENVADD) $(TEXI2DVI) $(srcdir)/sieve.texi | |
160 # | |
161 $(infodir)/pgg: pgg.texi | |
162 $(MAKEINFO) pgg.texi | |
163 pgg.dvi: pgg.texi | |
164 $(ENVADD) $(TEXI2DVI) $(srcdir)/pgg.texi | |
165 | |
166 $(infodir)/mh-e: mh-e.texi | |
167 $(MAKEINFO) mh-e.texi | |
168 mh-e.dvi: mh-e.texi | |
169 $(ENVADD) $(TEXI2DVI) $(srcdir)/mh-e.texi | |
170 | |
171 $(infodir)/reftex: reftex.texi | |
172 $(MAKEINFO) reftex.texi | |
173 reftex.dvi: reftex.texi | |
174 $(ENVADD) $(TEXI2DVI) $(srcdir)/reftex.texi | |
175 | |
85796
5ee8873552f8
(INFO_TARGETS): Add remember.
Juanma Barranquero <lekktu@gmail.com>
parents:
84328
diff
changeset
|
176 $(infodir)/remember: remember.texi |
5ee8873552f8
(INFO_TARGETS): Add remember.
Juanma Barranquero <lekktu@gmail.com>
parents:
84328
diff
changeset
|
177 $(MAKEINFO) remember.texi |
5ee8873552f8
(INFO_TARGETS): Add remember.
Juanma Barranquero <lekktu@gmail.com>
parents:
84328
diff
changeset
|
178 remember.dvi: remember.texi |
5ee8873552f8
(INFO_TARGETS): Add remember.
Juanma Barranquero <lekktu@gmail.com>
parents:
84328
diff
changeset
|
179 $(ENVADD) $(TEXI2DVI) $(srcdir)/remember.texi |
5ee8873552f8
(INFO_TARGETS): Add remember.
Juanma Barranquero <lekktu@gmail.com>
parents:
84328
diff
changeset
|
180 |
84304 | 181 $(infodir)/sc: sc.texi |
182 $(MAKEINFO) sc.texi | |
183 sc.dvi: sc.texi | |
184 $(ENVADD) $(TEXI2DVI) $(srcdir)/sc.texi | |
185 | |
186 $(infodir)/vip: vip.texi | |
187 $(MAKEINFO) vip.texi | |
188 vip.dvi: vip.texi | |
189 $(ENVADD) $(TEXI2DVI) $(srcdir)/vip.texi | |
190 | |
191 $(infodir)/viper: viper.texi | |
192 $(MAKEINFO) viper.texi | |
193 viper.dvi: viper.texi | |
194 $(ENVADD) $(TEXI2DVI) $(srcdir)/viper.texi | |
195 | |
196 $(infodir)/widget: widget.texi | |
197 $(MAKEINFO) widget.texi | |
198 widget.dvi: widget.texi | |
199 $(ENVADD) $(TEXI2DVI) $(srcdir)/widget.texi | |
200 | |
201 $(infodir)/efaq: faq.texi | |
202 $(MAKEINFO) faq.texi | |
203 faq.dvi: faq.texi | |
204 $(ENVADD) $(TEXI2DVI) $(srcdir)/faq.texi | |
205 | |
206 $(infodir)/autotype: autotype.texi | |
207 $(MAKEINFO) autotype.texi | |
208 autotype.dvi: autotype.texi | |
209 $(ENVADD) $(TEXI2DVI) $(srcdir)/autotype.texi | |
210 | |
211 $(infodir)/calc: calc.texi | |
212 $(MAKEINFO) calc.texi | |
213 | |
214 calc.dvi: calc.texi | |
215 $(ENVADD) $(TEXI2DVI) $(srcdir)/calc.texi | |
216 | |
217 # This is produced with --no-split to avoid making files whose | |
218 # names clash on DOS 8+3 filesystems | |
219 $(infodir)/idlwave: idlwave.texi | |
220 $(MAKEINFO) --no-split idlwave.texi | |
221 idlwave.dvi: idlwave.texi | |
222 $(ENVADD) $(TEXI2DVI) $(srcdir)/idlwave.texi | |
223 | |
224 $(infodir)/eudc: eudc.texi | |
225 $(MAKEINFO) eudc.texi | |
226 eudc.dvi: eudc.texi | |
227 $(ENVADD) $(TEXI2DVI) $(srcdir)/eudc.texi | |
228 | |
229 $(infodir)/ebrowse: ebrowse.texi | |
230 $(MAKEINFO) ebrowse.texi | |
231 ebrowse.dvi: ebrowse.texi | |
232 $(ENVADD) $(TEXI2DVI) $(srcdir)/ebrowse.texi | |
233 | |
234 $(infodir)/woman: woman.texi | |
235 $(MAKEINFO) woman.texi | |
236 woman.dvi: woman.texi | |
237 $(ENVADD) $(TEXI2DVI) $(srcdir)/woman.texi | |
238 | |
239 $(infodir)/speedbar: speedbar.texi | |
240 $(MAKEINFO) speedbar.texi | |
241 speedbar.dvi: speedbar.texi | |
242 $(ENVADD) $(TEXI2DVI) $(srcdir)/speedbar.texi | |
243 | |
244 $(infodir)/tramp: tramp.texi | |
245 $(MAKEINFO) tramp.texi | |
246 tramp.dvi: tramp.texi | |
247 $(ENVADD) $(TEXI2DVI) $(srcdir)/tramp.texi | |
248 | |
249 $(infodir)/ses: ses.texi | |
250 $(MAKEINFO) ses.texi | |
251 ses.dvi: ses.texi | |
252 $(ENVADD) $(TEXI2DVI) $(srcdir)/ses.texi | |
253 | |
254 $(infodir)/smtpmail: smtpmail.texi | |
255 $(MAKEINFO) smtpmail.texi | |
256 smtpmail.dvi: smtpmail.texi | |
257 $(ENVADD) $(TEXI2DVI) $(srcdir)/smtpmail.texi | |
258 | |
259 $(infodir)/org: org.texi | |
260 $(MAKEINFO) org.texi | |
261 org.dvi: org.texi | |
262 $(ENVADD) $(TEXI2DVI) $(srcdir)/org.texi | |
263 | |
264 $(infodir)/url: url.texi | |
265 $(MAKEINFO) url.texi | |
266 url.dvi: url.texi | |
267 $(ENVADD) $(TEXI2DVI) $(srcdir)/url.texi | |
268 | |
269 $(infodir)/newsticker: newsticker.texi | |
270 $(MAKEINFO) newsticker.texi | |
271 newsticker.dvi: newsticker.texi | |
272 $(ENVADD) $(TEXI2DVI) $(srcdir)/newsticker.texi | |
273 | |
86378
5d15069189ff
Fixups for nxml per Romain Francoise email.
Mark A. Hershberger <mah@everybody.org>
parents:
85796
diff
changeset
|
274 $(infodir)/nxml-mode: nxml-mode.texi |
5d15069189ff
Fixups for nxml per Romain Francoise email.
Mark A. Hershberger <mah@everybody.org>
parents:
85796
diff
changeset
|
275 $(MAKEINFO) nxml-mode.texi |
5d15069189ff
Fixups for nxml per Romain Francoise email.
Mark A. Hershberger <mah@everybody.org>
parents:
85796
diff
changeset
|
276 nxml-mod.dvi: nxml-mode.texi |
5d15069189ff
Fixups for nxml per Romain Francoise email.
Mark A. Hershberger <mah@everybody.org>
parents:
85796
diff
changeset
|
277 $(ENVADD) $(TEXI2DVI) $(srcdir)/nxml-mode.texi |
5d15069189ff
Fixups for nxml per Romain Francoise email.
Mark A. Hershberger <mah@everybody.org>
parents:
85796
diff
changeset
|
278 |
84304 | 279 $(infodir)/rcirc: rcirc.texi |
280 $(MAKEINFO) rcirc.texi | |
281 rcirc.dvi: rcirc.texi | |
282 $(ENVADD) $(TEXI2DVI) $(srcdir)/rcirc.texi | |
283 | |
284 $(infodir)/erc: erc.texi | |
285 $(MAKEINFO) erc.texi | |
286 erc.dvi: erc.texi | |
287 $(ENVADD) $(TEXI2DVI) $(srcdir)/erc.texi | |
288 | |
289 mostlyclean: | |
290 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr core *.tp *.core gnustmp.* | |
291 | |
292 clean: mostlyclean | |
293 - $(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
|
294 - $(DEL) $(infodir)/ccmode* \ |
84304 | 295 $(infodir)/cl* $(infodir)/dired-x* \ |
296 $(infodir)/ediff* $(infodir)/forms* \ | |
297 $(infodir)/gnus* $(infodir)/info* \ | |
298 $(infodir)/message* $(infodir)/mh-e* \ | |
299 $(infodir)/reftex* $(infodir)/sc* \ | |
300 $(infodir)/vip* $(infodir)/widget* \ | |
301 $(infodir)/efaq* $(infodir)/ada-mode* \ | |
302 $(infodir)/autotype* $(infodir)/calc* \ | |
303 $(infodir)/idlwave* $(infodir)/eudc* \ | |
304 $(infodir)/ebrowse* $(infodir)/pcl-cvs* \ | |
305 $(infodir)/woman* $(infodir)/eshell* \ | |
306 $(infodir)/speedbar* $(infodir)/tramp* \ | |
307 $(infodir)/ses* $(infodir)/smtpmail* \ | |
308 $(infodir)/url* $(infodir)/org* \ | |
309 $(infodir)/flymake* $(infodir)/newsticker* \ | |
310 $(infodir)/sieve* $(infodir)/pgg* \ | |
85796
5ee8873552f8
(INFO_TARGETS): Add remember.
Juanma Barranquero <lekktu@gmail.com>
parents:
84328
diff
changeset
|
311 $(infodir)/erc* $(infodir)/rcirc* \ |
86378
5d15069189ff
Fixups for nxml per Romain Francoise email.
Mark A. Hershberger <mah@everybody.org>
parents:
85796
diff
changeset
|
312 $(infodir)/remember* $(infodir)/nxml-mode* |
84304 | 313 |
314 distclean: clean | |
315 | |
316 maintainer-clean: distclean | |
317 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc | |
318 # Don't delete these, because they are outside the current directory. | |
319 # for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
320 | |
321 | |
322 # Formerly this directory had texindex.c and getopt.c in it | |
323 # and this makefile built them to make texindex. | |
324 # That caused trouble because this is run entirely in the source directory. | |
325 # Since we expect to get texi2dvi from elsewhere, | |
326 # it is ok to expect texindex from elsewhere also. |