Makefile.in 23.9 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 wisent 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
	tramp.dvi \
	url.dvi \
	vip.dvi \
	viper.dvi \
	widget.dvi \
105
	wisent.dvi \
106 107
	woman.dvi

108 109 110 111
PDF_TARGETS = \
	ada-mode.pdf \
	auth.pdf \
	autotype.pdf \
112
	bovine.pdf \
113 114 115 116 117 118 119 120 121 122 123 124 125
	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 \
126
	ert.pdf \
127 128 129 130 131 132
	eshell.pdf \
	eudc.pdf \
	faq.pdf \
	flymake.pdf \
	forms.pdf \
	gnus.pdf \
133
	emacs-gnutls.pdf \
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
	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 \
154
	srecode.pdf \
155 156 157 158 159
	tramp.pdf \
	url.pdf \
	vip.pdf \
	viper.pdf \
	widget.pdf \
160
	wisent.pdf \
161
	woman.pdf
162

163 164
HTML_TARGETS = emacs-faq.html

165
TEXI2DVI = texi2dvi
166
TEXI2PDF = texi2pdf
Glenn Morris's avatar
Glenn Morris committed
167

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

171
mkinfodir = @${MKDIR_P} ${buildinfodir}
172

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

177 178 179
# Default.
info: $(INFO_TARGETS)

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

186 187 188 189
# 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
190 191
dvi: $(DVI_TARGETS)

192
pdf: $(PDF_TARGETS)
193

194 195
# 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
196 197
# In a distribution of Emacs, the Info files should be up to date.

198 199
# Note: "<" is not portable in ordinary make rules.

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

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

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

227 228 229 230 231 232 233 234 235
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

389 390
efaq : $(buildinfodir)/efaq$(INFO_EXT)
$(buildinfodir)/efaq$(INFO_EXT): ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
391
	$(mkinfodir)
392
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/faq.texi
393
faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
394
	$(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
395
faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
396
	$(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
397 398 399
## 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
400
	$(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
401
	  --css-ref='/layout.css' --html -o $@ ${srcdir}/faq.texi
402 403 404
	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
405
	$(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ ${srcdir}/faq.texi
406

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

624 625 626 627 628 629 630 631 632
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

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

642 643
url : $(buildinfodir)/url$(INFO_EXT)
$(buildinfodir)/url$(INFO_EXT): ${srcdir}/url.texi
644
	$(mkinfodir)
645
	$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/url.texi
646
url.dvi: ${srcdir}/url.texi
647
	$(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
648
url.pdf: ${srcdir}/url.texi