Makefile.in 23.6 KB
Newer Older
1
#### Makefile for documentation other than the Emacs manual.
Glenn Morris's avatar
Glenn Morris committed
2

3
# Copyright (C) 1994, 1996-2012 Free Software Foundation, Inc.
Glenn Morris's avatar
Glenn Morris committed
4 5 6

# This file is part of GNU Emacs.

7
# GNU Emacs is free software: you can redistribute it and/or modify
Glenn Morris's avatar
Glenn Morris committed
8
# it under the terms of the GNU General Public License as published by
9 10
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
Glenn Morris's avatar
Glenn Morris committed
11 12 13 14 15 16 17

# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
18
# along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
Glenn Morris's avatar
Glenn Morris committed
19

20
SHELL = /bin/sh
21 22

# Where to find the source code.  $(srcdir) will be the man-aux
Glenn Morris's avatar
Glenn Morris committed
23 24 25 26
# subdirectory of the source tree.  This is
# set by the configure script's `--srcdir' option.
srcdir=@srcdir@

27
## Where the output files go.
28
buildinfodir = $(srcdir)/../../info
29
## Directory with emacsver.texi.
30
## Currently only used by efaq and calc.
31
emacsdir = $(srcdir)/../emacs
Glenn Morris's avatar
Glenn Morris committed
32

33 34
MKDIR_P = @MKDIR_P@

35 36 37 38
INFO_EXT=@INFO_EXT@
# Options used only when making info output.
INFO_OPTS=@INFO_OPTS@

Glenn Morris's avatar
Glenn Morris committed
39 40
# The makeinfo program is part of the Texinfo distribution.
# Use --force so that it generates output even if there are errors.
41 42
MAKEINFO = @MAKEINFO@
MAKEINFO_OPTS = --force -I$(emacsdir)
43

44
INFO_TARGETS = ada-mode auth autotype bovine calc ccmode cl \
45 46 47 48 49
	dbus dired-x ebrowse ede ediff edt eieio \
	emacs-mime epa erc ert eshell eudc efaq \
	flymake forms gnus emacs-gnutls idlwave info.info \
	mairix-el message mh-e newsticker nxml-mode \
	org pcl-cvs pgg rcirc remember reftex sasl \
50
	sc semantic ses sieve smtpmail speedbar srecode tramp \
51
	url vip viper widget woman
52 53 54

DVI_TARGETS = \
	ada-mode.dvi \
55
	auth.dvi \
56
	autotype.dvi \
57
	bovine.dvi \
58 59 60
	calc.dvi \
	cc-mode.dvi \
	cl.dvi \
61
	dbus.dvi \
62 63
	dired-x.dvi \
	ebrowse.dvi \
Chong Yidong's avatar
Chong Yidong committed
64
	ede.dvi \
65
	ediff.dvi \
66
	edt.dvi \
Chong Yidong's avatar
Chong Yidong committed
67
	eieio.dvi \
68
	emacs-mime.dvi \
Michael Olson's avatar
Michael Olson committed
69
	epa.dvi \
70
	erc.dvi \
71
	ert.dvi \
72 73 74 75 76 77
	eshell.dvi \
	eudc.dvi \
	faq.dvi \
	flymake.dvi \
	forms.dvi \
	gnus.dvi \
78
	emacs-gnutls.dvi \
79 80
	idlwave.dvi \
	info.dvi \
Chong Yidong's avatar
Chong Yidong committed
81
	mairix-el.dvi \
82 83 84
	message.dvi \
	mh-e.dvi \
	newsticker.dvi \
85
	nxml-mode.dvi \
86 87 88 89 90
	org.dvi \
	pcl-cvs.dvi \
	pgg.dvi \
	rcirc.dvi \
	reftex.dvi \
91
	remember.dvi \
92
	sasl.dvi \
93
	sc.dvi \
94
	semantic.dvi \
95 96 97 98
	ses.dvi \
	sieve.dvi \
	smtpmail.dvi \
	speedbar.dvi \
99
	srecode.dvi \
100 101 102 103 104 105 106
	tramp.dvi \
	url.dvi \
	vip.dvi \
	viper.dvi \
	widget.dvi \
	woman.dvi

107 108 109 110
PDF_TARGETS = \
	ada-mode.pdf \
	auth.pdf \
	autotype.pdf \
111
	bovine.pdf \
112 113 114 115 116 117 118 119 120 121 122 123 124
	calc.pdf \
	cc-mode.pdf \
	cl.pdf \
	dbus.pdf \
	dired-x.pdf \
	ebrowse.pdf \
	ede.pdf \
	ediff.pdf \
	edt.pdf \
	eieio.pdf \
	emacs-mime.pdf \
	epa.pdf \
	erc.pdf \
125
	ert.pdf \
126 127 128 129 130 131
	eshell.pdf \
	eudc.pdf \
	faq.pdf \
	flymake.pdf \
	forms.pdf \
	gnus.pdf \
132
	emacs-gnutls.pdf \
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
	idlwave.pdf \
	info.pdf \
	mairix-el.pdf \
	message.pdf \
	mh-e.pdf \
	newsticker.pdf \
	nxml-mode.pdf \
	org.pdf \
	pcl-cvs.pdf \
	pgg.pdf \
	rcirc.pdf \
	reftex.pdf \
	remember.pdf \
	sasl.pdf \
	sc.pdf \
	semantic.pdf \
	ses.pdf \
	sieve.pdf \
	smtpmail.pdf \
	speedbar.pdf \
153
	srecode.pdf \
154 155 156 157 158 159
	tramp.pdf \
	url.pdf \
	vip.pdf \
	viper.pdf \
	widget.pdf \
	woman.pdf
160

161 162
HTML_TARGETS = emacs-faq.html

163
TEXI2DVI = texi2dvi
164
TEXI2PDF = texi2pdf
Glenn Morris's avatar
Glenn Morris committed
165

166 167
ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
         MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
Glenn Morris's avatar
Glenn Morris committed
168

169
mkinfodir = @${MKDIR_P} ${buildinfodir}
170

171
.PHONY: info dvi pdf echo-info
172 173
## Prevent implicit rule triggering for foo.info.
.SUFFIXES:
174

175 176 177
# Default.
info: $(INFO_TARGETS)

178
## Used by top-level Makefile.
179
## Base file names of output info files.
180
echo-info:
181
	@echo "$(INFO_TARGETS) " | \
182
	  sed -e 's|[^ ]*/||g' -e 's/\.info//g' -e "s/  */$(INFO_EXT) /g"
Glenn Morris's avatar
Glenn Morris committed
183

184 185 186 187
# please modify this for all the web manual targets
webhack: clean
	$(MAKE) pdf MAKEINFO_OPTS="-DWEBHACKDEVEL $(MAKEINFO_OPTS)"

Glenn Morris's avatar
Glenn Morris committed
188 189
dvi: $(DVI_TARGETS)

190
pdf: $(PDF_TARGETS)
191

192 193
# Note that all the Info targets build the Info files in srcdir.
# There is no provision for Info files to exist in the build directory.
Glenn Morris's avatar
Glenn Morris committed
194 195
# In a distribution of Emacs, the Info files should be up to date.

196 197
# Note: "<" is not portable in ordinary make rules.

198 199
ada-mode : $(buildinfodir)/ada-mode$(INFO_EXT)
$(buildinfodir)/ada-mode$(INFO_EXT): ${srcdir}/ada-mode.texi
200
	$(mkinfodir)
201
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ada-mode.texi
202
ada-mode.dvi: ${srcdir}/ada-mode.texi
203
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
204
ada-mode.pdf: ${srcdir}/ada-mode.texi
205
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi
Glenn Morris's avatar
Glenn Morris committed
206

207 208
auth : $(buildinfodir)/auth$(INFO_EXT)
$(buildinfodir)/auth$(INFO_EXT): ${srcdir}/auth.texi
209
	$(mkinfodir)
210
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/auth.texi
211
auth.dvi: ${srcdir}/auth.texi
212
	$(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi
213
auth.pdf: ${srcdir}/auth.texi
214
	$(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi
215

216 217
autotype : $(buildinfodir)/autotype$(INFO_EXT)
$(buildinfodir)/autotype$(INFO_EXT): ${srcdir}/autotype.texi
218
	$(mkinfodir)
219
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/autotype.texi
220
autotype.dvi: ${srcdir}/autotype.texi
221
	$(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
222
autotype.pdf: ${srcdir}/autotype.texi
223
	$(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi
Glenn Morris's avatar
Glenn Morris committed
224

225 226 227 228 229 230 231 232 233
bovine : $(buildinfodir)/bovine$(INFO_EXT)
$(buildinfodir)/bovine$(INFO_EXT): ${srcdir}/bovine.texi
	$(mkinfodir)
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/bovine.texi
bovine.dvi: ${srcdir}/bovine.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/bovine.texi
bovine.pdf: ${srcdir}/bovine.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/bovine.texi

234 235
calc : $(buildinfodir)/calc$(INFO_EXT)
$(buildinfodir)/calc$(INFO_EXT): ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
236
	$(mkinfodir)
237
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/calc.texi
238
calc.dvi: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
239
	$(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
240
calc.pdf: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
241
	$(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi
Glenn Morris's avatar
Glenn Morris committed
242

243 244
ccmode : $(buildinfodir)/ccmode$(INFO_EXT)
$(buildinfodir)/ccmode$(INFO_EXT): ${srcdir}/cc-mode.texi
245
	$(mkinfodir)
246
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/cc-mode.texi
247
cc-mode.dvi: ${srcdir}/cc-mode.texi
248
	$(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
249
cc-mode.pdf: ${srcdir}/cc-mode.texi
250
	$(ENVADD) $(TEXI2PDF) ${srcdir}/cc-mode.texi
Glenn Morris's avatar
Glenn Morris committed
251

252
cl : $(buildinfodir)/cl$(INFO_EXT)
253
$(buildinfodir)/cl$(INFO_EXT): ${srcdir}/cl.texi $(emacsdir)/emacsver.texi
254
	$(mkinfodir)
255
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/cl.texi
256
cl.dvi: ${srcdir}/cl.texi $(emacsdir)/emacsver.texi
257
	$(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
258
cl.pdf: ${srcdir}/cl.texi $(emacsdir)/emacsver.texi
259
	$(ENVADD) $(TEXI2PDF) ${srcdir}/cl.texi
Glenn Morris's avatar
Glenn Morris committed
260

261 262
dbus : $(buildinfodir)/dbus$(INFO_EXT)
$(buildinfodir)/dbus$(INFO_EXT): ${srcdir}/dbus.texi
263
	$(mkinfodir)
264
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/dbus.texi
265
dbus.dvi: ${srcdir}/dbus.texi
266
	$(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
267
dbus.pdf: ${srcdir}/dbus.texi
268
	$(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi
269

270 271
dired-x : $(buildinfodir)/dired-x$(INFO_EXT)
$(buildinfodir)/dired-x$(INFO_EXT): ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
272
	$(mkinfodir)
273
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/dired-x.texi
274
dired-x.dvi: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
275
	$(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
276
dired-x.pdf: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
277
	$(ENVADD) $(TEXI2PDF) ${srcdir}/dired-x.texi
Glenn Morris's avatar
Glenn Morris committed
278

279 280
ebrowse : $(buildinfodir)/ebrowse$(INFO_EXT)
$(buildinfodir)/ebrowse$(INFO_EXT): ${srcdir}/ebrowse.texi
281
	$(mkinfodir)
282
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ebrowse.texi
283
ebrowse.dvi: ${srcdir}/ebrowse.texi
284
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
285
ebrowse.pdf: ${srcdir}/ebrowse.texi
286
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi
287

288 289
ede : $(buildinfodir)/ede$(INFO_EXT)
$(buildinfodir)/ede$(INFO_EXT): ${srcdir}/ede.texi
290
	$(mkinfodir)
291
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ede.texi
292
ede.dvi: ${srcdir}/ede.texi
293
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi
294
ede.pdf: ${srcdir}/ede.texi
295
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi
Chong Yidong's avatar
Chong Yidong committed
296

297 298
ediff : $(buildinfodir)/ediff$(INFO_EXT)
$(buildinfodir)/ediff$(INFO_EXT): ${srcdir}/ediff.texi
299
	$(mkinfodir)
300
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ediff.texi
301
ediff.dvi: ${srcdir}/ediff.texi
302
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
303
ediff.pdf: ${srcdir}/ediff.texi
304
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi
305

306 307
edt : $(buildinfodir)/edt$(INFO_EXT)
$(buildinfodir)/edt$(INFO_EXT): ${srcdir}/edt.texi
308
	$(mkinfodir)
309
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/edt.texi
310
edt.dvi: ${srcdir}/edt.texi
311
	$(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi
312
edt.pdf: ${srcdir}/edt.texi
313
	$(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi
Glenn Morris's avatar
Glenn Morris committed
314

315 316
eieio : $(buildinfodir)/eieio$(INFO_EXT)
$(buildinfodir)/eieio$(INFO_EXT): ${srcdir}/eieio.texi
317
	$(mkinfodir)
318
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eieio.texi
319
eieio.dvi: ${srcdir}/eieio.texi
320
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eieio.texi
321
eieio.pdf: ${srcdir}/eieio.texi
322
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eieio.texi
Chong Yidong's avatar
Chong Yidong committed
323

324 325
emacs-gnutls : $(buildinfodir)/emacs-gnutls$(INFO_EXT)
$(buildinfodir)/emacs-gnutls$(INFO_EXT): ${srcdir}/emacs-gnutls.texi
326
	$(mkinfodir)
327
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/emacs-gnutls.texi
328
emacs-gnutls.dvi: ${srcdir}/emacs-gnutls.texi
329
	$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-gnutls.texi
330
emacs-gnutls.pdf: ${srcdir}/emacs-gnutls.texi
331
	$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-gnutls.texi
332

333 334
emacs-mime : $(buildinfodir)/emacs-mime$(INFO_EXT)
$(buildinfodir)/emacs-mime$(INFO_EXT): ${srcdir}/emacs-mime.texi
335
	$(mkinfodir)
336
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) --enable-encoding -o $@ ${srcdir}/emacs-mime.texi
337
emacs-mime.dvi: ${srcdir}/emacs-mime.texi
338
	$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
339
emacs-mime.pdf: ${srcdir}/emacs-mime.texi
340
	$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
341

342 343
epa : $(buildinfodir)/epa$(INFO_EXT)
$(buildinfodir)/epa$(INFO_EXT): ${srcdir}/epa.texi
344
	$(mkinfodir)
345
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/epa.texi
346
epa.dvi: ${srcdir}/epa.texi
347
	$(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
348
epa.pdf: ${srcdir}/epa.texi
349
	$(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
Michael Olson's avatar
Michael Olson committed
350

351
erc : $(buildinfodir)/erc$(INFO_EXT)
352
$(buildinfodir)/erc$(INFO_EXT): ${srcdir}/erc.texi $(emacsdir)/emacsver.texi
353
	$(mkinfodir)
354
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/erc.texi
355
erc.dvi: ${srcdir}/erc.texi $(emacsdir)/emacsver.texi
356
	$(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
357
erc.pdf: ${srcdir}/erc.texi $(emacsdir)/emacsver.texi
358
	$(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
359

360 361
ert : $(buildinfodir)/ert$(INFO_EXT)
$(buildinfodir)/ert$(INFO_EXT): ${srcdir}/ert.texi
362
	$(mkinfodir)
363
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ert.texi
364
ert.dvi: ${srcdir}/ert.texi
365
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ert.texi
366
ert.pdf: ${srcdir}/ert.texi
367
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ert.texi
368

369 370
eshell : $(buildinfodir)/eshell$(INFO_EXT)
$(buildinfodir)/eshell$(INFO_EXT): ${srcdir}/eshell.texi
371
	$(mkinfodir)
372
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eshell.texi
373
eshell.dvi: ${srcdir}/eshell.texi
374
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
375
eshell.pdf: ${srcdir}/eshell.texi
376
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
Glenn Morris's avatar
Glenn Morris committed
377

378 379
eudc : $(buildinfodir)/eudc$(INFO_EXT)
$(buildinfodir)/eudc$(INFO_EXT): ${srcdir}/eudc.texi
380
	$(mkinfodir)
381
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eudc.texi
382
eudc.dvi: ${srcdir}/eudc.texi
383
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
384
eudc.pdf: ${srcdir}/eudc.texi
385
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
386

387 388
efaq : $(buildinfodir)/efaq$(INFO_EXT)
$(buildinfodir)/efaq$(INFO_EXT): ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
389
	$(mkinfodir)
390
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/faq.texi
391
faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
392
	$(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
393
faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
394
	$(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
395 396 397
## This is the name used on the Emacs web-page.
## sed fixes up links to point to split version of the manual.
emacs-faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
Glenn Morris's avatar
Glenn Morris committed
398
	$(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
399
	  --css-ref='/layout.css' --html -o $@ ${srcdir}/faq.texi
400 401 402
	sed -i -e 's|a href="\([a-z]*\)\.html#\([^"]*\)"|a href="manual/html_node/\1/\2.html"|g' \
	  -e 's|/Top\.html|/|g' $@
emacs-faq.text: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
403
	$(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ ${srcdir}/faq.texi
404

405 406
flymake : $(buildinfodir)/flymake$(INFO_EXT)
$(buildinfodir)/flymake$(INFO_EXT): ${srcdir}/flymake.texi
407
	$(mkinfodir)
408
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/flymake.texi
409
flymake.dvi: ${srcdir}/flymake.texi
410
	$(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
411
flymake.pdf: ${srcdir}/flymake.texi
412
	$(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
413

414 415
forms : $(buildinfodir)/forms$(INFO_EXT)
$(buildinfodir)/forms$(INFO_EXT): ${srcdir}/forms.texi
416
	$(mkinfodir)
417
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/forms.texi
418
forms.dvi: ${srcdir}/forms.texi
419
	$(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
420
forms.pdf: ${srcdir}/forms.texi
421
	$(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
Glenn Morris's avatar
Glenn Morris committed
422 423

# gnus/message/emacs-mime/sieve/pgg are part of Gnus:
424 425
gnus : $(buildinfodir)/gnus$(INFO_EXT)
$(buildinfodir)/gnus$(INFO_EXT): ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi
426
	$(mkinfodir)
427 428
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/gnus.texi
gnus.dvi: ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi
429
	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
Glenn Morris's avatar
Glenn Morris committed
430
	$(ENVADD) $(TEXI2DVI) gnustmp.texi
431
	cp gnustmp.dvi $@
Glenn Morris's avatar
Glenn Morris committed
432
	rm gnustmp.*
433
gnus.pdf: ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi
434
	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
435 436 437
	$(ENVADD) $(TEXI2PDF) gnustmp.texi
	cp gnustmp.pdf $@
	rm gnustmp.*
Glenn Morris's avatar
Glenn Morris committed
438

439
# NB this one needs --no-split even without a .info extension.
440 441
idlwave : $(buildinfodir)/idlwave$(INFO_EXT)
$(buildinfodir)/idlwave$(INFO_EXT): ${srcdir}/idlwave.texi
442
	$(mkinfodir)
443
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/idlwave.texi
444
idlwave.dvi: ${srcdir}/idlwave.texi
445
	$(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
446
idlwave.pdf: ${srcdir}/idlwave.texi
447
	$(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
448

449
# NB this one needs --no-split even without a .info extension.
450
# Avoid name clash with overall "info" target.
451 452
info.info : $(buildinfodir)/info$(INFO_EXT)
$(buildinfodir)/info$(INFO_EXT): ${srcdir}/info.texi
453
	$(mkinfodir)
454
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/info.texi
455
info.dvi: ${srcdir}/info.texi
456
	$(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
457
info.pdf: ${srcdir}/info.texi
458
	$(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
459

460 461
mairix-el : $(buildinfodir)/mairix-el$(INFO_EXT)
$(buildinfodir)/mairix-el$(INFO_EXT): ${srcdir}/mairix-el.texi
462
	$(mkinfodir)
463
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/mairix-el.texi
464
mairix-el.dvi: ${srcdir}/mairix-el.texi
465
	$(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
466
mairix-el.pdf: ${srcdir}/mairix-el.texi
467
	$(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
Chong Yidong's avatar
Chong Yidong committed
468

469 470
message : $(buildinfodir)/message$(INFO_EXT)
$(buildinfodir)/message$(INFO_EXT): ${srcdir}/message.texi
471
	$(mkinfodir)
472
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/message.texi
473
message.dvi: ${srcdir}/message.texi
474
	$(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
475
message.pdf: ${srcdir}/message.texi
476
	$(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi
Glenn Morris's avatar
Glenn Morris committed
477

478 479
mh-e : $(buildinfodir)/mh-e$(INFO_EXT)
$(buildinfodir)/mh-e$(INFO_EXT): ${srcdir}/mh-e.texi
480
	$(mkinfodir)
481
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/mh-e.texi
482
mh-e.dvi: ${srcdir}/mh-e.texi
483
	$(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
484
mh-e.pdf: ${srcdir}/mh-e.texi
485
	$(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
Glenn Morris's avatar
Glenn Morris committed
486

487 488
newsticker : $(buildinfodir)/newsticker$(INFO_EXT)
$(buildinfodir)/newsticker$(INFO_EXT): ${srcdir}/newsticker.texi
489
	$(mkinfodir)
490
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/newsticker.texi
491
newsticker.dvi: ${srcdir}/newsticker.texi
492
	$(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
493
newsticker.pdf: ${srcdir}/newsticker.texi
494
	$(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
495

496 497
nxml-mode : $(buildinfodir)/nxml-mode$(INFO_EXT)
$(buildinfodir)/nxml-mode$(INFO_EXT): ${srcdir}/nxml-mode.texi
498
	$(mkinfodir)
499
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/nxml-mode.texi
500
nxml-mode.dvi: ${srcdir}/nxml-mode.texi
501
	$(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
502
nxml-mode.pdf: ${srcdir}/nxml-mode.texi
503
	$(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
504

505 506
org : $(buildinfodir)/org$(INFO_EXT)
$(buildinfodir)/org$(INFO_EXT): ${srcdir}/org.texi
507
	$(mkinfodir)
508
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/org.texi
509
org.dvi: ${srcdir}/org.texi
510
	$(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
511
org.pdf: ${srcdir}/org.texi
512
	$(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
513

514 515
pcl-cvs : $(buildinfodir)/pcl-cvs$(INFO_EXT)
$(buildinfodir)/pcl-cvs$(INFO_EXT): ${srcdir}/pcl-cvs.texi
516
	$(mkinfodir)
517
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/pcl-cvs.texi
518
pcl-cvs.dvi: ${srcdir}/pcl-cvs.texi
519
	$(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
520
pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi
521
	$(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
Glenn Morris's avatar
Glenn Morris committed
522

523 524
pgg : $(buildinfodir)/pgg$(INFO_EXT)
$(buildinfodir)/pgg$(INFO_EXT): ${srcdir}/pgg.texi
525
	$(mkinfodir)
526
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/pgg.texi
527
pgg.dvi: ${srcdir}/pgg.texi
528
	$(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
529
pgg.pdf: ${srcdir}/pgg.texi
530
	$(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi
Glenn Morris's avatar
Glenn Morris committed
531

532 533
rcirc : $(buildinfodir)/rcirc$(INFO_EXT)
$(buildinfodir)/rcirc$(INFO_EXT): ${srcdir}/rcirc.texi
534
	$(mkinfodir)
535
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/rcirc.texi
536
rcirc.dvi: ${srcdir}/rcirc.texi
537
	$(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
538
rcirc.pdf: ${srcdir}/rcirc.texi
539
	$(ENVADD) $(TEXI2PDF) ${srcdir}/rcirc.texi
Glenn Morris's avatar
Glenn Morris committed
540

541
reftex : $(buildinfodir)/reftex$(INFO_EXT)
542
$(buildinfodir)/reftex$(INFO_EXT): ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi
543
	$(mkinfodir)
544
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/reftex.texi
545
reftex.dvi: ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi
546
	$(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
547
reftex.pdf: ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi
548
	$(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
Glenn Morris's avatar
Glenn Morris committed
549

550 551
remember : $(buildinfodir)/remember$(INFO_EXT)
$(buildinfodir)/remember$(INFO_EXT): ${srcdir}/remember.texi
552
	$(mkinfodir)
553
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/remember.texi
554
remember.dvi: ${srcdir}/remember.texi
555
	$(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
556
remember.pdf: ${srcdir}/remember.texi
557
	$(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
558

559 560
sasl : $(buildinfodir)/sasl$(INFO_EXT)
$(buildinfodir)/sasl$(INFO_EXT): ${srcdir}/sasl.texi
561
	$(mkinfodir)
562
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sasl.texi
563
sasl.dvi: ${srcdir}/sasl.texi
564
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
565
sasl.pdf: ${srcdir}/sasl.texi
566
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
567

568 569
sc : $(buildinfodir)/sc$(INFO_EXT)
$(buildinfodir)/sc$(INFO_EXT): ${srcdir}/sc.texi
570
	$(mkinfodir)
571
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sc.texi
572
sc.dvi: ${srcdir}/sc.texi
573
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
574
sc.pdf: ${srcdir}/sc.texi
575
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
Glenn Morris's avatar
Glenn Morris committed
576

577 578
semantic : $(buildinfodir)/semantic$(INFO_EXT)
$(buildinfodir)/semantic$(INFO_EXT): ${srcdir}/semantic.texi ${srcdir}/sem-user.texi
579
	$(mkinfodir)
580 581
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/semantic.texi
semantic.dvi: ${srcdir}/semantic.texi ${srcdir}/sem-user.texi
582
	$(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
583
semantic.pdf: ${srcdir}/semantic.texi ${srcdir}/sem-user.texi
584
	$(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
585

586 587
ses : $(buildinfodir)/ses$(INFO_EXT)
$(buildinfodir)/ses$(INFO_EXT): ${srcdir}/ses.texi
588
	$(mkinfodir)
589
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ses.texi
590
ses.dvi: ${srcdir}/ses.texi
591
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
592
ses.pdf: ${srcdir}/ses.texi
593
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi
Glenn Morris's avatar
Glenn Morris committed
594

595 596
sieve : $(buildinfodir)/sieve$(INFO_EXT)
$(buildinfodir)/sieve$(INFO_EXT): ${srcdir}/sieve.texi
597
	$(mkinfodir)
598
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sieve.texi
599
sieve.dvi: ${srcdir}/sieve.texi
600
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
601
sieve.pdf: ${srcdir}/sieve.texi
602
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sieve.texi
Glenn Morris's avatar
Glenn Morris committed
603

604 605
smtpmail : $(buildinfodir)/smtpmail$(INFO_EXT)
$(buildinfodir)/smtpmail$(INFO_EXT): ${srcdir}/smtpmail.texi
606
	$(mkinfodir)
607
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/smtpmail.texi
608
smtpmail.dvi: ${srcdir}/smtpmail.texi
609
	$(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
610
smtpmail.pdf: ${srcdir}/smtpmail.texi
611
	$(ENVADD) $(TEXI2PDF) ${srcdir}/smtpmail.texi
Glenn Morris's avatar
Glenn Morris committed
612

613 614
speedbar : $(buildinfodir)/speedbar$(INFO_EXT)
$(buildinfodir)/speedbar$(INFO_EXT): ${srcdir}/speedbar.texi
615
	$(mkinfodir)
616
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/speedbar.texi
617
speedbar.dvi: ${srcdir}/speedbar.texi
618
	$(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
619
speedbar.pdf: ${srcdir}/speedbar.texi
620
	$(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi
Glenn Morris's avatar
Glenn Morris committed
621

622 623 624 625 626 627 628 629 630
srecode : $(buildinfodir)/srecode$(INFO_EXT)
$(buildinfodir)/srecode$(INFO_EXT): ${srcdir}/srecode.texi
	$(mkinfodir)
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/srecode.texi
srecode.dvi: ${srcdir}/srecode.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/srecode.texi
srecode.pdf: ${srcdir}/srecode.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/srecode.texi

631 632
tramp : $(buildinfodir)/tramp$(INFO_EXT)
$(buildinfodir)/tramp$(INFO_EXT): ${srcdir}/tramp.texi ${srcdir}/trampver.texi
633
	$(mkinfodir)
634 635
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ -D emacs ${srcdir}/tramp.texi
tramp.dvi: ${srcdir}/tramp.texi ${srcdir}/trampver.texi
636
	$(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
637
tramp.pdf: ${srcdir}/tramp.texi ${srcdir}/trampver.texi
638
	$(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
Glenn Morris's avatar
Glenn Morris committed
639

640 641
url : $(buildinfodir)/url$(INFO_EXT)
$(buildinfodir)/url$(INFO_EXT): ${srcdir}/url.texi
642
	$(mkinfodir)
643
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/url.texi
644
url.dvi: ${srcdir}/url.texi
645
	$(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
646
url.pdf: ${srcdir}/url.texi
647
	$(ENVADD) $(TEXI2PDF) ${srcdir}/url.texi
Glenn Morris's avatar
Glenn Morris committed
648

649 650
vip : $(buildinfodir)/vip$(INFO_EXT)
$(buildinfodir)/vip$(INFO_EXT): ${srcdir}/vip.texi