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 46 47

INFO_TARGETS = \
	$(infodir)/ada-mode \
48
	$(infodir)/auth \
49 50 51 52
	$(infodir)/autotype \
	$(infodir)/calc \
	$(infodir)/ccmode \
	$(infodir)/cl \
53
	$(infodir)/dbus \
54 55
	$(infodir)/dired-x \
	$(infodir)/ebrowse \
Chong Yidong's avatar
Chong Yidong committed
56
	$(infodir)/ede \
57
	$(infodir)/ediff \
58
	$(infodir)/edt \
Chong Yidong's avatar
Chong Yidong committed
59
	$(infodir)/eieio \
60
	$(infodir)/emacs-mime \
Michael Olson's avatar
Michael Olson committed
61
	$(infodir)/epa \
62
	$(infodir)/erc \
63
	$(infodir)/ert \
64 65 66 67 68 69
	$(infodir)/eshell \
	$(infodir)/eudc \
	$(infodir)/efaq \
	$(infodir)/flymake \
	$(infodir)/forms \
	$(infodir)/gnus \
70
	$(infodir)/emacs-gnutls \
71 72
	$(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
	eshell.dvi \
	eudc.dvi \
	faq.dvi \
	flymake.dvi \
	forms.dvi \
	gnus.dvi \
122
	emacs-gnutls.dvi \
123 124
	idlwave.dvi \
	info.dvi \
Chong Yidong's avatar
Chong Yidong committed
125
	mairix-el.dvi \
126 127 128
	message.dvi \
	mh-e.dvi \
	newsticker.dvi \
129
	nxml-mode.dvi \
130 131 132 133 134
	org.dvi \
	pcl-cvs.dvi \
	pgg.dvi \
	rcirc.dvi \
	reftex.dvi \
135
	remember.dvi \
136
	sasl.dvi \
137
	sc.dvi \
138
	semantic.dvi \
139 140 141 142 143 144 145 146 147 148 149
	ses.dvi \
	sieve.dvi \
	smtpmail.dvi \
	speedbar.dvi \
	tramp.dvi \
	url.dvi \
	vip.dvi \
	viper.dvi \
	widget.dvi \
	woman.dvi

150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
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 \
167
	ert.pdf \
168 169 170 171 172 173
	eshell.pdf \
	eudc.pdf \
	faq.pdf \
	flymake.pdf \
	forms.pdf \
	gnus.pdf \
174
	emacs-gnutls.pdf \
175 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
	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
201

202 203
HTML_TARGETS = emacs-faq.html

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

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

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

212 213 214 215 216
.PHONY: info dvi pdf echo-info

## Used by top-level Makefile.
echo-info:
	@echo $(INFO_TARGETS) | sed 's|[^ ]*/||g'
Glenn Morris's avatar
Glenn Morris committed
217

218
info: $(INFO_TARGETS)
219

220 221 222 223
# 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
224 225
dvi: $(DVI_TARGETS)

226
pdf: $(PDF_TARGETS)
227

Glenn Morris's avatar
Glenn Morris committed
228 229 230 231 232
# 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.

233 234
# Note: "<" is not portable in ordinary make rules.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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