Makefile.in 20.2 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 27
# subdirectory of the source tree.  This is
# set by the configure script's `--srcdir' option.
srcdir=@srcdir@

# Tell make where to find source files; this is needed for the makefiles.
28 29 30
# Note the other doc Makefiles do not use VPATH anymore, instead
# they set infodir to an absolute path.  Not doing that here in
# case INFO_TARGETS gets too long for some feeble shells.
31
# (cf src/Makefile.in's passing of $lisp to make-docfile)
Glenn Morris's avatar
Glenn Morris committed
32 33
VPATH=@srcdir@

34 35 36
## Where the output files go.
## Note that the setfilename command in the .texi files assumes this.
infodir=../../info
37
## Directory with emacsver.texi.
38
## Currently only used by efaq and calc.
39
emacsdir = $(srcdir)/../emacs
Glenn Morris's avatar
Glenn Morris committed
40 41 42

# The makeinfo program is part of the Texinfo distribution.
# Use --force so that it generates output even if there are errors.
43 44
MAKEINFO = @MAKEINFO@
MAKEINFO_OPTS = --force -I$(emacsdir)
45

Glenn Morris's avatar
Glenn Morris committed
46
# Also add new entries to INFO_FILES in the top-level Makefile.in.
47 48
INFO_TARGETS = \
	$(infodir)/ada-mode \
49
	$(infodir)/auth \
50 51 52 53
	$(infodir)/autotype \
	$(infodir)/calc \
	$(infodir)/ccmode \
	$(infodir)/cl \
54
	$(infodir)/dbus \
55 56
	$(infodir)/dired-x \
	$(infodir)/ebrowse \
Chong Yidong's avatar
Chong Yidong committed
57
	$(infodir)/ede \
58
	$(infodir)/ediff \
59
	$(infodir)/edt \
Chong Yidong's avatar
Chong Yidong committed
60
	$(infodir)/eieio \
61
	$(infodir)/emacs-mime \
Michael Olson's avatar
Michael Olson committed
62
	$(infodir)/epa \
63
	$(infodir)/erc \
64
	$(infodir)/ert \
65 66 67 68 69 70 71 72
	$(infodir)/eshell \
	$(infodir)/eudc \
	$(infodir)/efaq \
	$(infodir)/flymake \
	$(infodir)/forms \
	$(infodir)/gnus \
	$(infodir)/idlwave \
	$(infodir)/info \
Chong Yidong's avatar
Chong Yidong committed
73
	$(infodir)/mairix-el \
74 75 76
	$(infodir)/message \
	$(infodir)/mh-e \
	$(infodir)/newsticker \
77
	$(infodir)/nxml-mode \
78 79 80 81
	$(infodir)/org \
	$(infodir)/pcl-cvs \
	$(infodir)/pgg \
	$(infodir)/rcirc \
82
	$(infodir)/remember \
83
	$(infodir)/reftex \
84
	$(infodir)/sasl \
85
	$(infodir)/sc \
86
	$(infodir)/semantic \
87 88 89 90 91 92 93 94 95 96 97 98 99
	$(infodir)/ses \
	$(infodir)/sieve \
	$(infodir)/smtpmail \
	$(infodir)/speedbar \
	$(infodir)/tramp \
	$(infodir)/url \
	$(infodir)/vip \
	$(infodir)/viper \
	$(infodir)/widget \
	$(infodir)/woman

DVI_TARGETS = \
	ada-mode.dvi \
100
	auth.dvi \
101 102 103 104
	autotype.dvi \
	calc.dvi \
	cc-mode.dvi \
	cl.dvi \
105
	dbus.dvi \
106 107
	dired-x.dvi \
	ebrowse.dvi \
Chong Yidong's avatar
Chong Yidong committed
108
	ede.dvi \
109
	ediff.dvi \
110
	edt.dvi \
Chong Yidong's avatar
Chong Yidong committed
111
	eieio.dvi \
112
	emacs-mime.dvi \
Michael Olson's avatar
Michael Olson committed
113
	epa.dvi \
114
	erc.dvi \
115
	ert.dvi \
116 117 118 119 120 121 122 123
	eshell.dvi \
	eudc.dvi \
	faq.dvi \
	flymake.dvi \
	forms.dvi \
	gnus.dvi \
	idlwave.dvi \
	info.dvi \
Chong Yidong's avatar
Chong Yidong committed
124
	mairix-el.dvi \
125 126 127
	message.dvi \
	mh-e.dvi \
	newsticker.dvi \
128
	nxml-mode.dvi \
129 130 131 132 133
	org.dvi \
	pcl-cvs.dvi \
	pgg.dvi \
	rcirc.dvi \
	reftex.dvi \
134
	remember.dvi \
135
	sasl.dvi \
136
	sc.dvi \
137
	semantic.dvi \
138 139 140 141 142 143 144 145 146 147 148
	ses.dvi \
	sieve.dvi \
	smtpmail.dvi \
	speedbar.dvi \
	tramp.dvi \
	url.dvi \
	vip.dvi \
	viper.dvi \
	widget.dvi \
	woman.dvi

149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
PDF_TARGETS = \
	ada-mode.pdf \
	auth.pdf \
	autotype.pdf \
	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 \
166
	ert.pdf \
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
	eshell.pdf \
	eudc.pdf \
	faq.pdf \
	flymake.pdf \
	forms.pdf \
	gnus.pdf \
	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 \
	tramp.pdf \
	url.pdf \
	vip.pdf \
	viper.pdf \
	widget.pdf \
	woman.pdf
199

200 201
HTML_TARGETS = emacs-faq.html

202
TEXI2DVI = texi2dvi
203
TEXI2PDF = texi2pdf
Glenn Morris's avatar
Glenn Morris committed
204

205 206
ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
         MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
Glenn Morris's avatar
Glenn Morris committed
207

208
mkinfodir = @cd ${srcdir}; test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}
209

Glenn Morris's avatar
Glenn Morris committed
210 211
.PHONY: info dvi pdf

212
info: $(INFO_TARGETS)
213

214 215 216 217
# 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
218 219
dvi: $(DVI_TARGETS)

220
pdf: $(PDF_TARGETS)
221

Glenn Morris's avatar
Glenn Morris committed
222 223 224 225 226
# 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.
# In a distribution of Emacs, the Info files should be up to date.

227 228
# Note: "<" is not portable in ordinary make rules.

229 230
## "short" target names for convenience, to just rebuild one manual.
ada-mode : $(infodir)/ada-mode
231 232
$(infodir)/ada-mode: ada-mode.texi
	$(mkinfodir)
233
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ada-mode.texi
234
ada-mode.dvi: ${srcdir}/ada-mode.texi
235
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
236
ada-mode.pdf: ${srcdir}/ada-mode.texi
237
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi
Glenn Morris's avatar
Glenn Morris committed
238

239
auth : $(infodir)/auth
240 241
$(infodir)/auth: auth.texi
	$(mkinfodir)
242
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) auth.texi
243
auth.dvi: ${srcdir}/auth.texi
244
	$(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi
245
auth.pdf: ${srcdir}/auth.texi
246
	$(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi
247

248
autotype : $(infodir)/autotype
249 250
$(infodir)/autotype: autotype.texi
	$(mkinfodir)
251
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) autotype.texi
252
autotype.dvi: ${srcdir}/autotype.texi
253
	$(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
254
autotype.pdf: ${srcdir}/autotype.texi
255
	$(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi
Glenn Morris's avatar
Glenn Morris committed
256

257
calc : $(infodir)/calc
258
$(infodir)/calc: calc.texi $(emacsdir)/emacsver.texi
259
	$(mkinfodir)
260
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) calc.texi
261
calc.dvi: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
262
	$(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
263
calc.pdf: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
264
	$(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi
Glenn Morris's avatar
Glenn Morris committed
265

266
ccmode : $(infodir)/ccmode
267 268
$(infodir)/ccmode: cc-mode.texi
	$(mkinfodir)
269
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) cc-mode.texi
270
cc-mode.dvi: ${srcdir}/cc-mode.texi
271
	$(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
272
cc-mode.pdf: ${srcdir}/cc-mode.texi
273
	$(ENVADD) $(TEXI2PDF) ${srcdir}/cc-mode.texi
Glenn Morris's avatar
Glenn Morris committed
274

275
cl : $(infodir)/cl
276 277
$(infodir)/cl: cl.texi
	$(mkinfodir)
278
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) cl.texi
279
cl.dvi: ${srcdir}/cl.texi
280
	$(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
281
cl.pdf: ${srcdir}/cl.texi
282
	$(ENVADD) $(TEXI2PDF) ${srcdir}/cl.texi
Glenn Morris's avatar
Glenn Morris committed
283

284
dbus : $(infodir)/dbus
285 286
$(infodir)/dbus: dbus.texi
	$(mkinfodir)
287
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) dbus.texi
288
dbus.dvi: ${srcdir}/dbus.texi
289
	$(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
290
dbus.pdf: ${srcdir}/dbus.texi
291
	$(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi
292

293
dired-x : $(infodir)/dired-x
294
$(infodir)/dired-x: dired-x.texi $(emacsdir)/emacsver.texi
295
	$(mkinfodir)
296
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) dired-x.texi
297
dired-x.dvi: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
298
	$(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
299
dired-x.pdf: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
300
	$(ENVADD) $(TEXI2PDF) ${srcdir}/dired-x.texi
Glenn Morris's avatar
Glenn Morris committed
301

302
ebrowse : $(infodir)/ebrowse
303 304
$(infodir)/ebrowse: ebrowse.texi
	$(mkinfodir)
305
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ebrowse.texi
306
ebrowse.dvi: ${srcdir}/ebrowse.texi
307
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
308
ebrowse.pdf: ${srcdir}/ebrowse.texi
309
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi
310

Chong Yidong's avatar
Chong Yidong committed
311
ede : $(infodir)/ede
312 313
$(infodir)/ede: ede.texi
	$(mkinfodir)
314
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ede.texi
315
ede.dvi: ${srcdir}/ede.texi
316
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi
317
ede.pdf: ${srcdir}/ede.texi
318
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi
Chong Yidong's avatar
Chong Yidong committed
319

320
ediff : $(infodir)/ediff
321 322
$(infodir)/ediff: ediff.texi
	$(mkinfodir)
323
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ediff.texi
324
ediff.dvi: ${srcdir}/ediff.texi
325
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
326
ediff.pdf: ${srcdir}/ediff.texi
327
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi
328 329

edt : $(infodir)/edt
330 331
$(infodir)/edt: edt.texi
	$(mkinfodir)
332
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) edt.texi
333
edt.dvi: ${srcdir}/edt.texi
334
	$(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi
335
edt.pdf: ${srcdir}/edt.texi
336
	$(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi
Glenn Morris's avatar
Glenn Morris committed
337

Chong Yidong's avatar
Chong Yidong committed
338
eieio : $(infodir)/eieio
339 340
$(infodir)/eieio: eieio.texi
	$(mkinfodir)
341
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eieio.texi
342
eieio.dvi: ${srcdir}/eieio.texi
343
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eieio.texi
344
eieio.pdf: ${srcdir}/eieio.texi
345
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eieio.texi
Chong Yidong's avatar
Chong Yidong committed
346

347
emacs-mime : $(infodir)/emacs-mime
348 349
$(infodir)/emacs-mime: emacs-mime.texi
	$(mkinfodir)
350
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --enable-encoding emacs-mime.texi
351
emacs-mime.dvi: ${srcdir}/emacs-mime.texi
352
	$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
353
emacs-mime.pdf: ${srcdir}/emacs-mime.texi
354
	$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
355

Michael Olson's avatar
Michael Olson committed
356
epa : $(infodir)/epa
357 358
$(infodir)/epa: epa.texi
	$(mkinfodir)
359
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) epa.texi
360
epa.dvi: ${srcdir}/epa.texi
361
	$(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
362
epa.pdf: ${srcdir}/epa.texi
363
	$(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
Michael Olson's avatar
Michael Olson committed
364

365
erc : $(infodir)/erc
366 367
$(infodir)/erc: erc.texi
	$(mkinfodir)
368
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) erc.texi
369
erc.dvi: ${srcdir}/erc.texi
370
	$(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
371
erc.pdf: ${srcdir}/erc.texi
372
	$(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
373

374
ert : $(infodir)/ert
375 376
$(infodir)/ert: ert.texi
	$(mkinfodir)
377
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ert.texi
378
ert.dvi: ${srcdir}/ert.texi
379
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ert.texi
380
ert.pdf: ${srcdir}/ert.texi
381
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ert.texi
382

383
eshell : $(infodir)/eshell
384 385
$(infodir)/eshell: eshell.texi
	$(mkinfodir)
386
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eshell.texi
387
eshell.dvi: ${srcdir}/eshell.texi
388
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
389
eshell.pdf: ${srcdir}/eshell.texi
390
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
Glenn Morris's avatar
Glenn Morris committed
391

392 393
eudc : $(infodir)/eudc
$(infodir)/eudc: eudc.texi
394
	$(mkinfodir)
395
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eudc.texi
396
eudc.dvi: ${srcdir}/eudc.texi
397
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
398
eudc.pdf: ${srcdir}/eudc.texi
399
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
400 401

efaq : $(infodir)/efaq
402 403
$(infodir)/efaq: faq.texi $(emacsdir)/emacsver.texi
	$(mkinfodir)
404
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) faq.texi
405
faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
406
	$(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
407
faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
408
	$(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
409 410 411
## 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
412
	$(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
413
	  --css-ref='/layout.css' --html -o $@ ${srcdir}/faq.texi
414 415 416
	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
417
	$(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ ${srcdir}/faq.texi
418 419 420

flymake : $(infodir)/flymake
$(infodir)/flymake: flymake.texi
421
	$(mkinfodir)
422
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) flymake.texi
423
flymake.dvi: ${srcdir}/flymake.texi
424
	$(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
425
flymake.pdf: ${srcdir}/flymake.texi
426
	$(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
427 428

forms : $(infodir)/forms
429 430
$(infodir)/forms: forms.texi
	$(mkinfodir)
431
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) forms.texi
432
forms.dvi: ${srcdir}/forms.texi
433
	$(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
434
forms.pdf: ${srcdir}/forms.texi
435
	$(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
Glenn Morris's avatar
Glenn Morris committed
436 437

# gnus/message/emacs-mime/sieve/pgg are part of Gnus:
438
gnus : $(infodir)/gnus
439 440
$(infodir)/gnus: gnus.texi gnus-faq.texi
	$(mkinfodir)
441
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) gnus.texi
442
gnus.dvi: ${srcdir}/gnus.texi gnus-faq.texi
443
	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
Glenn Morris's avatar
Glenn Morris committed
444 445 446
	$(ENVADD) $(TEXI2DVI) gnustmp.texi
	cp gnustmp.dvi $*.dvi
	rm gnustmp.*
447
gnus.pdf: ${srcdir}/gnus.texi gnus-faq.texi
448
	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
449 450 451
	$(ENVADD) $(TEXI2PDF) gnustmp.texi
	cp gnustmp.pdf $@
	rm gnustmp.*
Glenn Morris's avatar
Glenn Morris committed
452

453 454 455
# This is produced with --no-split to avoid making files whose
# names clash on DOS 8+3 filesystems
idlwave : $(infodir)/idlwave
456 457
$(infodir)/idlwave: idlwave.texi
	$(mkinfodir)
458
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split idlwave.texi
459
idlwave.dvi: ${srcdir}/idlwave.texi
460
	$(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
461
idlwave.pdf: ${srcdir}/idlwave.texi
462
	$(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
463 464 465 466 467

# The following target uses an explicit -o switch to work around
# the @setfilename directive in info.texi, which is required for
# the Texinfo distribution.
###info : $(infodir)/info   # circular!
468 469
$(infodir)/info: info.texi
	$(mkinfodir)
470
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split -o $@ info.texi
471
info.dvi: ${srcdir}/info.texi
472
	$(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
473
info.pdf: ${srcdir}/info.texi
474
	$(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
475

Chong Yidong's avatar
Chong Yidong committed
476
mairix-el : $(infodir)/mairix-el
477 478
$(infodir)/mairix-el: mairix-el.texi
	$(mkinfodir)
479
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) mairix-el.texi
480
mairix-el.dvi: ${srcdir}/mairix-el.texi
481
	$(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
482
mairix-el.pdf: ${srcdir}/mairix-el.texi
483
	$(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
Chong Yidong's avatar
Chong Yidong committed
484

485
message : $(infodir)/message
486 487
$(infodir)/message: message.texi
	$(mkinfodir)
488
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) message.texi
489
message.dvi: ${srcdir}/message.texi
490
	$(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
491
message.pdf: ${srcdir}/message.texi
492
	$(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi
Glenn Morris's avatar
Glenn Morris committed
493

494
mh-e : $(infodir)/mh-e
495 496
$(infodir)/mh-e: mh-e.texi
	$(mkinfodir)
497
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) mh-e.texi
498
mh-e.dvi: ${srcdir}/mh-e.texi
499
	$(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
500
mh-e.pdf: ${srcdir}/mh-e.texi
501
	$(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
Glenn Morris's avatar
Glenn Morris committed
502

503
newsticker : $(infodir)/newsticker
504 505
$(infodir)/newsticker: newsticker.texi
	$(mkinfodir)
506
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) newsticker.texi
507
newsticker.dvi: ${srcdir}/newsticker.texi
508
	$(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
509
newsticker.pdf: ${srcdir}/newsticker.texi
510
	$(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
511 512

nxml-mode : $(infodir)/nxml-mode
513 514
$(infodir)/nxml-mode: nxml-mode.texi
	$(mkinfodir)
515
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) nxml-mode.texi
516
nxml-mode.dvi: ${srcdir}/nxml-mode.texi
517
	$(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
518
nxml-mode.pdf: ${srcdir}/nxml-mode.texi
519
	$(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
520 521

org : $(infodir)/org
522 523
$(infodir)/org: org.texi
	$(mkinfodir)
524
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) org.texi
525
org.dvi: ${srcdir}/org.texi
526
	$(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
527
org.pdf: ${srcdir}/org.texi
528
	$(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
529 530

pcl-cvs : $(infodir)/pcl-cvs
531 532
$(infodir)/pcl-cvs: pcl-cvs.texi
	$(mkinfodir)
533
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) pcl-cvs.texi
534
pcl-cvs.dvi: ${srcdir}/pcl-cvs.texi
535
	$(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
536
pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi
537
	$(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
Glenn Morris's avatar
Glenn Morris committed
538

539
pgg : $(infodir)/pgg
540 541
$(infodir)/pgg: pgg.texi
	$(mkinfodir)
542
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) pgg.texi
543
pgg.dvi: ${srcdir}/pgg.texi
544
	$(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
545
pgg.pdf: ${srcdir}/pgg.texi
546
	$(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi
Glenn Morris's avatar
Glenn Morris committed
547

548
rcirc : $(infodir)/rcirc
549 550
$(infodir)/rcirc: rcirc.texi
	$(mkinfodir)
551
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) rcirc.texi
552
rcirc.dvi: ${srcdir}/rcirc.texi
553
	$(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
554
rcirc.pdf: ${srcdir}/rcirc.texi
555
	$(ENVADD) $(TEXI2PDF) ${srcdir}/rcirc.texi
Glenn Morris's avatar
Glenn Morris committed
556

557
reftex : $(infodir)/reftex
558 559
$(infodir)/reftex: reftex.texi
	$(mkinfodir)
560
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) reftex.texi
561
reftex.dvi: ${srcdir}/reftex.texi
562
	$(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
563
reftex.pdf: ${srcdir}/reftex.texi
564
	$(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
Glenn Morris's avatar
Glenn Morris committed
565

566
remember : $(infodir)/remember
567 568
$(infodir)/remember: remember.texi
	$(mkinfodir)
569
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) remember.texi
570
remember.dvi: ${srcdir}/remember.texi
571
	$(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
572
remember.pdf: ${srcdir}/remember.texi
573
	$(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
574

575
sasl : $(infodir)/sasl
576 577
$(infodir)/sasl: sasl.texi
	$(mkinfodir)
578
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sasl.texi
579
sasl.dvi: ${srcdir}/sasl.texi
580
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
581
sasl.pdf: ${srcdir}/sasl.texi
582
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
583

584
sc : $(infodir)/sc
585 586
$(infodir)/sc: sc.texi
	$(mkinfodir)
587
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sc.texi
588
sc.dvi: ${srcdir}/sc.texi
589
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
590
sc.pdf: ${srcdir}/sc.texi
591
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
Glenn Morris's avatar
Glenn Morris committed
592

593
semantic : $(infodir)/semantic
594 595
$(infodir)/semantic: semantic.texi sem-user.texi
	$(mkinfodir)
596
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) semantic.texi
597
semantic.dvi: ${srcdir}/semantic.texi sem-user.texi
598
	$(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
599
semantic.pdf: ${srcdir}/semantic.texi sem-user.texi
600
	$(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
601

602
ses : $(infodir)/ses
603 604
$(infodir)/ses: ses.texi
	$(mkinfodir)
605
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ses.texi
606
ses.dvi: ${srcdir}/ses.texi
607
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
608
ses.pdf: ${srcdir}/ses.texi
609
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi
Glenn Morris's avatar
Glenn Morris committed
610

611
sieve : $(infodir)/sieve
612 613
$(infodir)/sieve: sieve.texi
	$(mkinfodir)
614
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sieve.texi
615
sieve.dvi: ${srcdir}/sieve.texi
616
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
617
sieve.pdf: ${srcdir}/sieve.texi
618
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sieve.texi
Glenn Morris's avatar
Glenn Morris committed
619

620
smtpmail : $(infodir)/smtpmail
621 622
$(infodir)/smtpmail: smtpmail.texi
	$(mkinfodir)
623
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) smtpmail.texi
624
smtpmail.dvi: ${srcdir}/smtpmail.texi
625
	$(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
626
smtpmail.pdf: ${srcdir}/smtpmail.texi
627
	$(ENVADD) $(TEXI2PDF) ${srcdir}/smtpmail.texi
Glenn Morris's avatar
Glenn Morris committed
628

629
speedbar : $(infodir)/speedbar
630 631
$(infodir)/speedbar: speedbar.texi
	$(mkinfodir)
632
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) speedbar.texi
633
speedbar.dvi: ${srcdir}/speedbar.texi
634
	$(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
635
speedbar.pdf: ${srcdir}/speedbar.texi
636
	$(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi
Glenn Morris's avatar
Glenn Morris committed
637

638
tramp : $(infodir)/tramp
639 640
$(infodir)/tramp: tramp.texi trampver.texi
	$(mkinfodir)
641
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) -D emacs tramp.texi
642
tramp.dvi: ${srcdir}/tramp.texi trampver.texi
643
	$(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
644
tramp.pdf: ${srcdir}/tramp.texi trampver.texi
645
	$(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
Glenn Morris's avatar
Glenn Morris committed
646

647
url : $(infodir)/url
648 649
$(infodir)/url: url.texi
	$(mkinfodir)
650
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) url.texi
651
url.dvi: ${srcdir}/url.texi
652
	$(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
653
url.pdf: ${srcdir}/url.texi
654
	$(ENVADD) $(TEXI2PDF) ${srcdir}/url.texi
Glenn Morris's avatar
Glenn Morris committed
655

656
vip : $(infodir)/vip
657 658
$(infodir)/vip: vip.texi
	$(mkinfodir)
659
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) vip.texi
660
vip.dvi: ${srcdir}/vip.texi
661
	$(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
662
vip.pdf: ${srcdir}/vip.texi
663
	$(ENVADD) $(TEXI2PDF) ${srcdir}/vip.texi
Glenn Morris's avatar
Glenn Morris committed
664

665
viper : $(infodir)/viper
666 667
$(infodir)/viper: viper.texi
	$(mkinfodir)
668
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) viper.texi
669
viper.dvi: ${srcdir}/viper.texi
670
	$(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
671
viper.pdf: ${srcdir}/viper.texi
672
	$(ENVADD) $(TEXI2PDF) ${srcdir}/viper.texi
Glenn Morris's avatar
Glenn Morris committed
673

674
widget : $(infodir)/widget
675 676
$(infodir)/widget: widget.texi
	$(mkinfodir)
677
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) widget.texi
678
widget.dvi: ${srcdir}/widget.texi
Glenn Morris's avatar