Makefile.in 20.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 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
	$(infodir)/eshell \
	$(infodir)/eudc \
	$(infodir)/efaq \
	$(infodir)/flymake \
	$(infodir)/forms \
	$(infodir)/gnus \
71
	$(infodir)/emacs-gnutls \
72 73
	$(infodir)/idlwave \
	$(infodir)/info \
Chong Yidong's avatar
Chong Yidong committed
74
	$(infodir)/mairix-el \
75 76 77
	$(infodir)/message \
	$(infodir)/mh-e \
	$(infodir)/newsticker \
78
	$(infodir)/nxml-mode \
79 80 81 82
	$(infodir)/org \
	$(infodir)/pcl-cvs \
	$(infodir)/pgg \
	$(infodir)/rcirc \
83
	$(infodir)/remember \
84
	$(infodir)/reftex \
85
	$(infodir)/sasl \
86
	$(infodir)/sc \
87
	$(infodir)/semantic \
88 89 90 91 92 93 94 95 96 97 98 99 100
	$(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 \
101
	auth.dvi \
102 103 104 105
	autotype.dvi \
	calc.dvi \
	cc-mode.dvi \
	cl.dvi \
106
	dbus.dvi \
107 108
	dired-x.dvi \
	ebrowse.dvi \
Chong Yidong's avatar
Chong Yidong committed
109
	ede.dvi \
110
	ediff.dvi \
111
	edt.dvi \
Chong Yidong's avatar
Chong Yidong committed
112
	eieio.dvi \
113
	emacs-mime.dvi \
Michael Olson's avatar
Michael Olson committed
114
	epa.dvi \
115
	erc.dvi \
116
	ert.dvi \
117 118 119 120 121 122
	eshell.dvi \
	eudc.dvi \
	faq.dvi \
	flymake.dvi \
	forms.dvi \
	gnus.dvi \
123
	emacs-gnutls.dvi \
124 125
	idlwave.dvi \
	info.dvi \
Chong Yidong's avatar
Chong Yidong committed
126
	mairix-el.dvi \
127 128 129
	message.dvi \
	mh-e.dvi \
	newsticker.dvi \
130
	nxml-mode.dvi \
131 132 133 134 135
	org.dvi \
	pcl-cvs.dvi \
	pgg.dvi \
	rcirc.dvi \
	reftex.dvi \
136
	remember.dvi \
137
	sasl.dvi \
138
	sc.dvi \
139
	semantic.dvi \
140 141 142 143 144 145 146 147 148 149 150
	ses.dvi \
	sieve.dvi \
	smtpmail.dvi \
	speedbar.dvi \
	tramp.dvi \
	url.dvi \
	vip.dvi \
	viper.dvi \
	widget.dvi \
	woman.dvi

151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
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 \
168
	ert.pdf \
169 170 171 172 173 174
	eshell.pdf \
	eudc.pdf \
	faq.pdf \
	flymake.pdf \
	forms.pdf \
	gnus.pdf \
175
	emacs-gnutls.pdf \
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
	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
202

203 204
HTML_TARGETS = emacs-faq.html

205
TEXI2DVI = texi2dvi
206
TEXI2PDF = texi2pdf
Glenn Morris's avatar
Glenn Morris committed
207

208 209
ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
         MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
Glenn Morris's avatar
Glenn Morris committed
210

211
mkinfodir = @cd ${srcdir}; test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}
212

Glenn Morris's avatar
Glenn Morris committed
213 214
.PHONY: info dvi pdf

215
info: $(INFO_TARGETS)
216

217 218 219 220
# 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
221 222
dvi: $(DVI_TARGETS)

223
pdf: $(PDF_TARGETS)
224

Glenn Morris's avatar
Glenn Morris committed
225 226 227 228 229
# 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.

230 231
# Note: "<" is not portable in ordinary make rules.

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

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

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

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

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

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

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

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

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

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

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

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

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

350 351 352
emacs-gnutls : $(infodir)/emacs-gnutls
$(infodir)/emacs-gnutls: emacs-gnutls.texi
	$(mkinfodir)
353
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) emacs-gnutls.texi
354
emacs-gnutls.dvi: ${srcdir}/emacs-gnutls.texi
355
	$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-gnutls.texi
356
emacs-gnutls.pdf: ${srcdir}/emacs-gnutls.texi
357
	$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-gnutls.texi
358

359
emacs-mime : $(infodir)/emacs-mime
360 361
$(infodir)/emacs-mime: emacs-mime.texi
	$(mkinfodir)
362
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --enable-encoding emacs-mime.texi
363
emacs-mime.dvi: ${srcdir}/emacs-mime.texi
364
	$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
365
emacs-mime.pdf: ${srcdir}/emacs-mime.texi
366
	$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
367

Michael Olson's avatar
Michael Olson committed
368
epa : $(infodir)/epa
369 370
$(infodir)/epa: epa.texi
	$(mkinfodir)
371
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) epa.texi
372
epa.dvi: ${srcdir}/epa.texi
373
	$(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
374
epa.pdf: ${srcdir}/epa.texi
375
	$(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
Michael Olson's avatar
Michael Olson committed
376

377
erc : $(infodir)/erc
378 379
$(infodir)/erc: erc.texi
	$(mkinfodir)
380
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) erc.texi
381
erc.dvi: ${srcdir}/erc.texi
382
	$(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
383
erc.pdf: ${srcdir}/erc.texi
384
	$(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
385

386
ert : $(infodir)/ert
387 388
$(infodir)/ert: ert.texi
	$(mkinfodir)
389
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ert.texi
390
ert.dvi: ${srcdir}/ert.texi
391
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ert.texi
392
ert.pdf: ${srcdir}/ert.texi
393
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ert.texi
394

395
eshell : $(infodir)/eshell
396 397
$(infodir)/eshell: eshell.texi
	$(mkinfodir)
398
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eshell.texi
399
eshell.dvi: ${srcdir}/eshell.texi
400
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
401
eshell.pdf: ${srcdir}/eshell.texi
402
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
Glenn Morris's avatar
Glenn Morris committed
403

404 405
eudc : $(infodir)/eudc
$(infodir)/eudc: eudc.texi
406
	$(mkinfodir)
407
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eudc.texi
408
eudc.dvi: ${srcdir}/eudc.texi
409
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
410
eudc.pdf: ${srcdir}/eudc.texi
411
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
412 413

efaq : $(infodir)/efaq
414 415
$(infodir)/efaq: faq.texi $(emacsdir)/emacsver.texi
	$(mkinfodir)
416
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) faq.texi
417
faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
418
	$(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
419
faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
420
	$(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
421 422 423
## 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
424
	$(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
425
	  --css-ref='/layout.css' --html -o $@ ${srcdir}/faq.texi
426 427 428
	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
429
	$(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ ${srcdir}/faq.texi
430 431 432

flymake : $(infodir)/flymake
$(infodir)/flymake: flymake.texi
433
	$(mkinfodir)
434
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) flymake.texi
435
flymake.dvi: ${srcdir}/flymake.texi
436
	$(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
437
flymake.pdf: ${srcdir}/flymake.texi
438
	$(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
439 440

forms : $(infodir)/forms
441 442
$(infodir)/forms: forms.texi
	$(mkinfodir)
443
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) forms.texi
444
forms.dvi: ${srcdir}/forms.texi
445
	$(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
446
forms.pdf: ${srcdir}/forms.texi
447
	$(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
Glenn Morris's avatar
Glenn Morris committed
448 449

# gnus/message/emacs-mime/sieve/pgg are part of Gnus:
450
gnus : $(infodir)/gnus
451 452
$(infodir)/gnus: gnus.texi gnus-faq.texi
	$(mkinfodir)
453
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) gnus.texi
454
gnus.dvi: ${srcdir}/gnus.texi gnus-faq.texi
455
	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
Glenn Morris's avatar
Glenn Morris committed
456 457 458
	$(ENVADD) $(TEXI2DVI) gnustmp.texi
	cp gnustmp.dvi $*.dvi
	rm gnustmp.*
459
gnus.pdf: ${srcdir}/gnus.texi gnus-faq.texi
460
	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
461 462 463
	$(ENVADD) $(TEXI2PDF) gnustmp.texi
	cp gnustmp.pdf $@
	rm gnustmp.*
Glenn Morris's avatar
Glenn Morris committed
464

465 466 467
# This is produced with --no-split to avoid making files whose
# names clash on DOS 8+3 filesystems
idlwave : $(infodir)/idlwave
468 469
$(infodir)/idlwave: idlwave.texi
	$(mkinfodir)
470
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split idlwave.texi
471
idlwave.dvi: ${srcdir}/idlwave.texi
472
	$(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
473
idlwave.pdf: ${srcdir}/idlwave.texi
474
	$(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
475 476 477 478 479

# 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!
480 481
$(infodir)/info: info.texi
	$(mkinfodir)
482
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split -o $@ info.texi
483
info.dvi: ${srcdir}/info.texi
484
	$(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
485
info.pdf: ${srcdir}/info.texi
486
	$(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
487

Chong Yidong's avatar
Chong Yidong committed
488
mairix-el : $(infodir)/mairix-el
489 490
$(infodir)/mairix-el: mairix-el.texi
	$(mkinfodir)
491
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) mairix-el.texi
492
mairix-el.dvi: ${srcdir}/mairix-el.texi
493
	$(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
494
mairix-el.pdf: ${srcdir}/mairix-el.texi
495
	$(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
Chong Yidong's avatar
Chong Yidong committed
496

497
message : $(infodir)/message
498 499
$(infodir)/message: message.texi
	$(mkinfodir)
500
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) message.texi
501
message.dvi: ${srcdir}/message.texi
502
	$(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
503
message.pdf: ${srcdir}/message.texi
504
	$(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi
Glenn Morris's avatar
Glenn Morris committed
505

506
mh-e : $(infodir)/mh-e
507 508
$(infodir)/mh-e: mh-e.texi
	$(mkinfodir)
509
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) mh-e.texi
510
mh-e.dvi: ${srcdir}/mh-e.texi
511
	$(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
512
mh-e.pdf: ${srcdir}/mh-e.texi
513
	$(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
Glenn Morris's avatar
Glenn Morris committed
514

515
newsticker : $(infodir)/newsticker
516 517
$(infodir)/newsticker: newsticker.texi
	$(mkinfodir)
518
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) newsticker.texi
519
newsticker.dvi: ${srcdir}/newsticker.texi
520
	$(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
521
newsticker.pdf: ${srcdir}/newsticker.texi
522
	$(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
523 524

nxml-mode : $(infodir)/nxml-mode
525 526
$(infodir)/nxml-mode: nxml-mode.texi
	$(mkinfodir)
527
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) nxml-mode.texi
528
nxml-mode.dvi: ${srcdir}/nxml-mode.texi
529
	$(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
530
nxml-mode.pdf: ${srcdir}/nxml-mode.texi
531
	$(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
532 533

org : $(infodir)/org
534 535
$(infodir)/org: org.texi
	$(mkinfodir)
536
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) org.texi
537
org.dvi: ${srcdir}/org.texi
538
	$(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
539
org.pdf: ${srcdir}/org.texi
540
	$(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
541 542

pcl-cvs : $(infodir)/pcl-cvs
543 544
$(infodir)/pcl-cvs: pcl-cvs.texi
	$(mkinfodir)
545
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) pcl-cvs.texi
546
pcl-cvs.dvi: ${srcdir}/pcl-cvs.texi
547
	$(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
548
pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi
549
	$(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
Glenn Morris's avatar
Glenn Morris committed
550

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

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

569
reftex : $(infodir)/reftex
570 571
$(infodir)/reftex: reftex.texi
	$(mkinfodir)
572
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) reftex.texi
573
reftex.dvi: ${srcdir}/reftex.texi
574
	$(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
575
reftex.pdf: ${srcdir}/reftex.texi
576
	$(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
Glenn Morris's avatar
Glenn Morris committed
577

578
remember : $(infodir)/remember
579 580
$(infodir)/remember: remember.texi
	$(mkinfodir)
581
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) remember.texi
582
remember.dvi: ${srcdir}/remember.texi
583
	$(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
584
remember.pdf: ${srcdir}/remember.texi
585
	$(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
586

587
sasl : $(infodir)/sasl
588 589
$(infodir)/sasl: sasl.texi
	$(mkinfodir)
590
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sasl.texi
591
sasl.dvi: ${srcdir}/sasl.texi
592
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
593
sasl.pdf: ${srcdir}/sasl.texi
594
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
595

596
sc : $(infodir)/sc
597 598
$(infodir)/sc: sc.texi
	$(mkinfodir)
599
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sc.texi
600
sc.dvi: ${srcdir}/sc.texi
601
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
602
sc.pdf: ${srcdir}/sc.texi
603
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
Glenn Morris's avatar
Glenn Morris committed
604

605
semantic : $(infodir)/semantic
606 607
$(infodir)/semantic: semantic.texi sem-user.texi
	$(mkinfodir)
608
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) semantic.texi
609
semantic.dvi: ${srcdir}/semantic.texi sem-user.texi
610
	$(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
611
semantic.pdf: ${srcdir}/semantic.texi sem-user.texi
612
	$(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
613

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

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

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

641
speedbar : $(infodir)/speedbar
642 643
$(infodir)/speedbar: speedbar.texi
	$(mkinfodir)
644
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) speedbar.texi
645
speedbar.dvi: ${srcdir}/speedbar.texi
646
	$(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
647
speedbar.pdf: ${srcdir}/speedbar.texi
648
	$(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi
Glenn Morris's avatar
Glenn Morris committed
649

650
tramp : $(infodir)/tramp
651 652
$(infodir)/tramp: tramp.texi trampver.texi
	$(mkinfodir)
653
	cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) -D emacs tramp.texi
654
tramp.dvi: ${srcdir}/tramp.texi trampver.texi
655
	$(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
656
tramp.pdf: ${srcdir}/tramp.texi trampver.texi
657
	$(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
Glenn Morris's avatar
Glenn Morris committed
658

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

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