Makefile.in 16.7 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

Glenn Morris's avatar
Glenn Morris committed
202 203
.PHONY: info dvi pdf

204
info: $(INFO_TARGETS)
205 206

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

dvi: $(DVI_TARGETS)

211
pdf: $(PDF_TARGETS)
212

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

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

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

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

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

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

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

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

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

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

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

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

edt : $(infodir)/edt
308
$(infodir)/edt: edt.texi $(infodir)
309 310 311 312 313
	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
314

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

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

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

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

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

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

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

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

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

# gnus/message/emacs-mime/sieve/pgg are part of Gnus:
388
gnus : $(infodir)/gnus
389
$(infodir)/gnus: gnus.texi gnus-faq.texi $(infodir)
Glenn Morris's avatar
Glenn Morris committed
390 391 392 393 394 395
	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.*
396 397 398 399 400
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
401

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Glenn Morris's avatar
Glenn Morris committed
616 617
.PHONY: mostlyclean clean distclean maintainer-clean

Glenn Morris's avatar
Glenn Morris committed
618
mostlyclean:
619 620 621
	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
622 623

clean: mostlyclean
624
	rm -f $(DVI_TARGETS) $(PDF_TARGETS)
Glenn Morris's avatar
Glenn Morris committed
625 626

distclean: clean
627
#	rm -f Makefile
Glenn Morris's avatar
Glenn Morris committed
628 629

maintainer-clean: distclean
630 631 632
	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
633

634
### Makefile ends here