Makefile.in 16.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, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
4 5
#   2004, 2005, 2006, 2007, 2008, 2009, 2010
#   Free Software Foundation, Inc.
Glenn Morris's avatar
Glenn Morris committed
6 7 8

# This file is part of GNU Emacs.

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

# 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
20
# along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
Glenn Morris's avatar
Glenn Morris committed
21

22
SHELL = /bin/sh
23 24

# Where to find the source code.  $(srcdir) will be the man-aux
Glenn Morris's avatar
Glenn Morris committed
25 26 27 28 29 30 31
# 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.
VPATH=@srcdir@

32 33 34
## Where the output files go.
## Note that the setfilename command in the .texi files assumes this.
infodir=../../info
Glenn Morris's avatar
Glenn Morris committed
35 36 37 38

# The makeinfo program is part of the Texinfo distribution.
# Use --force so that it generates output even if there are errors.
MAKEINFO = makeinfo --force
39

Glenn Morris's avatar
Glenn Morris committed
40
# Also add new entries to INFO_FILES in the top-level Makefile.in.
41 42
INFO_TARGETS = \
	$(infodir)/ada-mode \
43
	$(infodir)/auth \
44 45 46 47
	$(infodir)/autotype \
	$(infodir)/calc \
	$(infodir)/ccmode \
	$(infodir)/cl \
48
	$(infodir)/dbus \
49 50
	$(infodir)/dired-x \
	$(infodir)/ebrowse \
Chong Yidong's avatar
Chong Yidong committed
51
	$(infodir)/ede \
52
	$(infodir)/ediff \
53
	$(infodir)/edt \
Chong Yidong's avatar
Chong Yidong committed
54
	$(infodir)/eieio \
55
	$(infodir)/emacs-mime \
Michael Olson's avatar
Michael Olson committed
56
	$(infodir)/epa \
57 58 59 60 61 62 63 64 65
	$(infodir)/erc \
	$(infodir)/eshell \
	$(infodir)/eudc \
	$(infodir)/efaq \
	$(infodir)/flymake \
	$(infodir)/forms \
	$(infodir)/gnus \
	$(infodir)/idlwave \
	$(infodir)/info \
Chong Yidong's avatar
Chong Yidong committed
66
	$(infodir)/mairix-el \
67 68 69
	$(infodir)/message \
	$(infodir)/mh-e \
	$(infodir)/newsticker \
70
	$(infodir)/nxml-mode \
71 72 73 74
	$(infodir)/org \
	$(infodir)/pcl-cvs \
	$(infodir)/pgg \
	$(infodir)/rcirc \
75
	$(infodir)/remember \
76
	$(infodir)/reftex \
77
	$(infodir)/sasl \
78
	$(infodir)/sc \
79
	$(infodir)/semantic \
80 81 82 83 84 85 86 87 88 89 90 91 92
	$(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 \
93
	auth.dvi \
94 95 96 97
	autotype.dvi \
	calc.dvi \
	cc-mode.dvi \
	cl.dvi \
98
	dbus.dvi \
99 100
	dired-x.dvi \
	ebrowse.dvi \
Chong Yidong's avatar
Chong Yidong committed
101
	ede.dvi \
102
	ediff.dvi \
103
	edt.dvi \
Chong Yidong's avatar
Chong Yidong committed
104
	eieio.dvi \
105
	emacs-mime.dvi \
Michael Olson's avatar
Michael Olson committed
106
	epa.dvi \
107 108 109 110 111 112 113 114 115
	erc.dvi \
	eshell.dvi \
	eudc.dvi \
	faq.dvi \
	flymake.dvi \
	forms.dvi \
	gnus.dvi \
	idlwave.dvi \
	info.dvi \
Chong Yidong's avatar
Chong Yidong committed
116
	mairix-el.dvi \
117 118 119
	message.dvi \
	mh-e.dvi \
	newsticker.dvi \
120
	nxml-mode.dvi \
121 122 123 124 125
	org.dvi \
	pcl-cvs.dvi \
	pgg.dvi \
	rcirc.dvi \
	reftex.dvi \
126
	remember.dvi \
127
	sasl.dvi \
128
	sc.dvi \
129
	semantic.dvi \
130 131 132 133 134 135 136 137 138 139 140
	ses.dvi \
	sieve.dvi \
	smtpmail.dvi \
	speedbar.dvi \
	tramp.dvi \
	url.dvi \
	vip.dvi \
	viper.dvi \
	widget.dvi \
	woman.dvi

141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
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 \
	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
190 191

TEXI2DVI = texi2dvi
192
TEXI2PDF = texi2pdf
Glenn Morris's avatar
Glenn Morris committed
193 194 195 196

# The following rule does not work with all versions of `make'.
.SUFFIXES: .texi .dvi
.texi.dvi:
197
	$(TEXI2DVI) $<
Glenn Morris's avatar
Glenn Morris committed
198 199 200

ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)"

201

202
info: $(INFO_TARGETS)
203 204

$(infodir):
Glenn Morris's avatar
Glenn Morris committed
205
	mkdir $@ || test -d $@
Glenn Morris's avatar
Glenn Morris committed
206 207 208

dvi: $(DVI_TARGETS)

209
pdf: $(PDF_TARGETS)
210

Glenn Morris's avatar
Glenn Morris committed
211 212 213 214 215
# 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.

216 217
## "short" target names for convenience, to just rebuild one manual.
ada-mode : $(infodir)/ada-mode
218
$(infodir)/ada-mode: ada-mode.texi $(infodir)
219 220 221
	cd $(srcdir); $(MAKEINFO) ada-mode.texi
ada-mode.dvi: ada-mode.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
222 223
ada-mode.pdf: ada-mode.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi
Glenn Morris's avatar
Glenn Morris committed
224

225
auth : $(infodir)/auth
226
$(infodir)/auth: auth.texi $(infodir)
227 228 229
	cd $(srcdir); $(MAKEINFO) auth.texi
auth.dvi: auth.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi
230 231
auth.pdf: auth.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi
232

233
autotype : $(infodir)/autotype
234
$(infodir)/autotype: autotype.texi $(infodir)
235 236 237
	cd $(srcdir); $(MAKEINFO) autotype.texi
autotype.dvi: autotype.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
238 239
autotype.pdf: autotype.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi
Glenn Morris's avatar
Glenn Morris committed
240

241
calc : $(infodir)/calc
242
$(infodir)/calc: calc.texi $(infodir)
243 244 245
	cd $(srcdir); $(MAKEINFO) calc.texi
calc.dvi: calc.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
246 247
calc.pdf: calc.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi
Glenn Morris's avatar
Glenn Morris committed
248

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

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

265
dbus : $(infodir)/dbus
266
$(infodir)/dbus: dbus.texi $(infodir)
267 268 269
	cd $(srcdir); $(MAKEINFO) dbus.texi
dbus.dvi: dbus.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
270 271
dbus.pdf: dbus.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi
272

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

281
ebrowse : $(infodir)/ebrowse
282
$(infodir)/ebrowse: ebrowse.texi $(infodir)
283 284 285
	cd $(srcdir); $(MAKEINFO) ebrowse.texi
ebrowse.dvi: ebrowse.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
286 287
ebrowse.pdf: ebrowse.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi
288

Chong Yidong's avatar
Chong Yidong committed
289
ede : $(infodir)/ede
290
$(infodir)/ede: ede.texi $(infodir)
Chong Yidong's avatar
Chong Yidong committed
291 292 293
	cd $(srcdir); $(MAKEINFO) ede.texi
ede.dvi: ede.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi
294 295
ede.pdf: ede.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi
Chong Yidong's avatar
Chong Yidong committed
296

297
ediff : $(infodir)/ediff
298
$(infodir)/ediff: ediff.texi $(infodir)
Glenn Morris's avatar
Glenn Morris committed
299 300 301
	cd $(srcdir); $(MAKEINFO) ediff.texi
ediff.dvi: ediff.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
302 303 304 305
ediff.pdf: ediff.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi

edt : $(infodir)/edt
306
$(infodir)/edt: edt.texi $(infodir)
307 308 309 310 311
	cd $(srcdir); $(MAKEINFO) edt.texi
edt.dvi: edt.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi
edt.pdf: edt.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi
Glenn Morris's avatar
Glenn Morris committed
312

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

321
emacs-mime : $(infodir)/emacs-mime
322
$(infodir)/emacs-mime: emacs-mime.texi $(infodir)
323 324 325
	cd $(srcdir); $(MAKEINFO) --enable-encoding emacs-mime.texi
emacs-mime.dvi: emacs-mime.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
326 327
emacs-mime.pdf: emacs-mime.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
328

Michael Olson's avatar
Michael Olson committed
329
epa : $(infodir)/epa
330
$(infodir)/epa: epa.texi $(infodir)
Michael Olson's avatar
Michael Olson committed
331 332 333
	cd $(srcdir); $(MAKEINFO) epa.texi
epa.dvi: epa.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
334 335
epa.pdf: epa.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
Michael Olson's avatar
Michael Olson committed
336

337
erc : $(infodir)/erc
338
$(infodir)/erc: erc.texi $(infodir)
339 340 341
	cd $(srcdir); $(MAKEINFO) erc.texi
erc.dvi: erc.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
342 343
erc.pdf: erc.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
344 345

eshell : $(infodir)/eshell
346
$(infodir)/eshell: eshell.texi $(infodir)
347 348 349
	cd $(srcdir); $(MAKEINFO) eshell.texi
eshell.dvi: eshell.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
350 351
eshell.pdf: eshell.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
Glenn Morris's avatar
Glenn Morris committed
352

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

efaq : $(infodir)/efaq
362
$(infodir)/efaq: faq.texi $(infodir)
363 364 365
	cd $(srcdir); $(MAKEINFO) faq.texi
faq.dvi: faq.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
366 367
faq.pdf: faq.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
368 369 370 371 372 373

flymake : $(infodir)/flymake
$(infodir)/flymake: flymake.texi
	cd $(srcdir); $(MAKEINFO) flymake.texi
flymake.dvi: flymake.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
374 375
flymake.pdf: flymake.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
376 377

forms : $(infodir)/forms
378
$(infodir)/forms: forms.texi $(infodir)
Glenn Morris's avatar
Glenn Morris committed
379 380 381
	cd $(srcdir); $(MAKEINFO) forms.texi
forms.dvi: forms.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
382 383
forms.pdf: forms.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
Glenn Morris's avatar
Glenn Morris committed
384 385

# gnus/message/emacs-mime/sieve/pgg are part of Gnus:
386
gnus : $(infodir)/gnus
387
$(infodir)/gnus: gnus.texi gnus-faq.texi $(infodir)
Glenn Morris's avatar
Glenn Morris committed
388 389 390 391 392 393
	cd $(srcdir); $(MAKEINFO) gnus.texi
gnus.dvi: gnus.texi gnus-faq.texi
	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
	$(ENVADD) $(TEXI2DVI) gnustmp.texi
	cp gnustmp.dvi $*.dvi
	rm gnustmp.*
394 395 396 397 398
gnus.pdf: gnus.texi gnus-faq.texi
	sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
	$(ENVADD) $(TEXI2PDF) gnustmp.texi
	cp gnustmp.pdf $@
	rm gnustmp.*
Glenn Morris's avatar
Glenn Morris committed
399

400 401 402
# This is produced with --no-split to avoid making files whose
# names clash on DOS 8+3 filesystems
idlwave : $(infodir)/idlwave
403
$(infodir)/idlwave: idlwave.texi $(infodir)
404 405 406
	cd $(srcdir); $(MAKEINFO) --no-split idlwave.texi
idlwave.dvi: idlwave.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
407 408
idlwave.pdf: idlwave.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
409 410 411 412 413

# 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!
414
$(infodir)/info: info.texi $(infodir)
415 416 417
	cd $(srcdir); $(MAKEINFO) --no-split info.texi -o $@
info.dvi: info.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
418 419
info.pdf: info.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
420

Chong Yidong's avatar
Chong Yidong committed
421
mairix-el : $(infodir)/mairix-el
422
$(infodir)/mairix-el: mairix-el.texi $(infodir)
Chong Yidong's avatar
Chong Yidong committed
423 424 425
	cd $(srcdir); $(MAKEINFO) mairix-el.texi
mairix-el.dvi: mairix-el.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
426 427
mairix-el.pdf: mairix-el.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
Chong Yidong's avatar
Chong Yidong committed
428

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

437
mh-e : $(infodir)/mh-e
438
$(infodir)/mh-e: mh-e.texi $(infodir)
439 440 441
	cd $(srcdir); $(MAKEINFO) mh-e.texi
mh-e.dvi: mh-e.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
442 443
mh-e.pdf: mh-e.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
Glenn Morris's avatar
Glenn Morris committed
444

445
newsticker : $(infodir)/newsticker
446
$(infodir)/newsticker: newsticker.texi $(infodir)
447 448 449
	cd $(srcdir); $(MAKEINFO) newsticker.texi
newsticker.dvi: newsticker.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
450 451
newsticker.pdf: newsticker.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
452 453

nxml-mode : $(infodir)/nxml-mode
454
$(infodir)/nxml-mode: nxml-mode.texi $(infodir)
455 456 457
	cd $(srcdir); $(MAKEINFO) nxml-mode.texi
nxml-mode.dvi: nxml-mode.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
458 459
nxml-mode.pdf: nxml-mode.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
460 461

org : $(infodir)/org
462
$(infodir)/org: org.texi $(infodir)
463 464 465
	cd $(srcdir); $(MAKEINFO) org.texi
org.dvi: org.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
466 467
org.pdf: org.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
468 469

pcl-cvs : $(infodir)/pcl-cvs
470
$(infodir)/pcl-cvs: pcl-cvs.texi $(infodir)
471 472 473
	cd $(srcdir); $(MAKEINFO) pcl-cvs.texi
pcl-cvs.dvi: pcl-cvs.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
474 475
pcl-cvs.pdf: pcl-cvs.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
Glenn Morris's avatar
Glenn Morris committed
476

477
pgg : $(infodir)/pgg
478
$(infodir)/pgg: pgg.texi $(infodir)
Glenn Morris's avatar
Glenn Morris committed
479 480 481
	cd $(srcdir); $(MAKEINFO) pgg.texi
pgg.dvi: pgg.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
482 483
pgg.pdf: pgg.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi
Glenn Morris's avatar
Glenn Morris committed
484

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

493
reftex : $(infodir)/reftex
494
$(infodir)/reftex: reftex.texi $(infodir)
Glenn Morris's avatar
Glenn Morris committed
495 496 497
	cd $(srcdir); $(MAKEINFO) reftex.texi
reftex.dvi: reftex.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
498 499
reftex.pdf: reftex.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
Glenn Morris's avatar
Glenn Morris committed
500

501
remember : $(infodir)/remember
502
$(infodir)/remember: remember.texi $(infodir)
503 504 505
	cd $(srcdir); $(MAKEINFO) remember.texi
remember.dvi: remember.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
506 507
remember.pdf: remember.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
508

509
sasl : $(infodir)/sasl
510
$(infodir)/sasl: sasl.texi $(infodir)
511 512 513
	cd $(srcdir); $(MAKEINFO) sasl.texi
sasl.dvi: sasl.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
514 515
sasl.pdf: sasl.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
516

517
sc : $(infodir)/sc
518
$(infodir)/sc: sc.texi $(infodir)
Glenn Morris's avatar
Glenn Morris committed
519 520 521
	cd $(srcdir); $(MAKEINFO) sc.texi
sc.dvi: sc.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
522 523
sc.pdf: sc.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
Glenn Morris's avatar
Glenn Morris committed
524

525
semantic : $(infodir)/semantic
526
$(infodir)/semantic: semantic.texi sem-user.texi $(infodir)
527 528 529
	cd $(srcdir); $(MAKEINFO) semantic.texi
semantic.dvi: semantic.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
530 531
semantic.pdf: semantic.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
532

533
ses : $(infodir)/ses
534
$(infodir)/ses: ses.texi $(infodir)
535 536 537
	cd $(srcdir); $(MAKEINFO) ses.texi
ses.dvi: ses.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
538 539
ses.pdf: ses.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi
Glenn Morris's avatar
Glenn Morris committed
540

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

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

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

565
tramp : $(infodir)/tramp
566
$(infodir)/tramp: tramp.texi trampver.texi $(infodir)
Glenn Morris's avatar
Glenn Morris committed
567 568 569
	cd $(srcdir); $(MAKEINFO) -D emacs tramp.texi
tramp.dvi: tramp.texi trampver.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
570 571
tramp.pdf: tramp.texi trampver.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
Glenn Morris's avatar
Glenn Morris committed
572

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

581
vip : $(infodir)/vip
582
$(infodir)/vip: vip.texi $(infodir)
583 584 585
	cd $(srcdir); $(MAKEINFO) vip.texi
vip.dvi: vip.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
586 587
vip.pdf: vip.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/vip.texi
Glenn Morris's avatar
Glenn Morris committed
588

589
viper : $(infodir)/viper
590
$(infodir)/viper: viper.texi $(infodir)
591 592 593
	cd $(srcdir); $(MAKEINFO) viper.texi
viper.dvi: viper.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
594 595
viper.pdf: viper.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/viper.texi
Glenn Morris's avatar
Glenn Morris committed
596

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

605
woman : $(infodir)/woman
606
$(infodir)/woman: woman.texi $(infodir)
607 608 609
	cd $(srcdir); $(MAKEINFO) woman.texi
woman.dvi: woman.texi
	$(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi
610 611
woman.pdf: woman.texi
	$(ENVADD) $(TEXI2PDF) ${srcdir}/woman.texi
Glenn Morris's avatar
Glenn Morris committed
612 613 614


mostlyclean:
615 616 617
	rm -f *.aux *.log *.cp *.cps *.fn *.fns *.ky *.kys \
	  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
	rm -f gnustmp.*
Glenn Morris's avatar
Glenn Morris committed
618 619

clean: mostlyclean
620
	rm -f $(DVI_TARGETS) $(PDF_TARGETS)
Glenn Morris's avatar
Glenn Morris committed
621 622

distclean: clean
623
#	rm -f Makefile
Glenn Morris's avatar
Glenn Morris committed
624 625

maintainer-clean: distclean
626 627 628
	for file in $(INFO_TARGETS); do \
	  rm -f $${file} $${file}-[1-9] $${file}-[1-9][0-9]; \
	done
Glenn Morris's avatar
Glenn Morris committed
629

630
### Makefile ends here