mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-04 08:47:11 +00:00
686 lines
22 KiB
Makefile
686 lines
22 KiB
Makefile
#### Makefile for documentation other than the Emacs manual.
|
|
|
|
# Copyright (C) 1994, 1996-2012 Free Software Foundation, Inc.
|
|
|
|
# This file is part of GNU Emacs.
|
|
|
|
# GNU Emacs is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# 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
|
|
# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
SHELL = /bin/sh
|
|
|
|
# Where to find the source code. $(srcdir) will be the man-aux
|
|
# subdirectory of the source tree. This is
|
|
# set by the configure script's `--srcdir' option.
|
|
srcdir=@srcdir@
|
|
|
|
## Where the output files go.
|
|
infodir = $(srcdir)/../../info
|
|
## Directory with emacsver.texi.
|
|
## Currently only used by efaq and calc.
|
|
emacsdir = $(srcdir)/../emacs
|
|
|
|
MKDIR_P = @MKDIR_P@
|
|
|
|
INFO_EXT=@INFO_EXT@
|
|
# Options used only when making info output.
|
|
INFO_OPTS=@INFO_OPTS@
|
|
|
|
# The makeinfo program is part of the Texinfo distribution.
|
|
# Use --force so that it generates output even if there are errors.
|
|
MAKEINFO = @MAKEINFO@
|
|
MAKEINFO_OPTS = --force -I$(emacsdir)
|
|
|
|
INFO_TARGETS = ada-mode auth autotype calc ccmode cl \
|
|
dbus dired-x ebrowse ede ediff edt eieio \
|
|
emacs-mime epa erc ert eshell eudc efaq \
|
|
flymake forms gnus emacs-gnutls idlwave info.info \
|
|
mairix-el message mh-e newsticker nxml-mode \
|
|
org pcl-cvs pgg rcirc remember reftex sasl \
|
|
sc semantic ses sieve smtpmail speedbar tramp \
|
|
url vip viper widget woman
|
|
|
|
DVI_TARGETS = \
|
|
ada-mode.dvi \
|
|
auth.dvi \
|
|
autotype.dvi \
|
|
calc.dvi \
|
|
cc-mode.dvi \
|
|
cl.dvi \
|
|
dbus.dvi \
|
|
dired-x.dvi \
|
|
ebrowse.dvi \
|
|
ede.dvi \
|
|
ediff.dvi \
|
|
edt.dvi \
|
|
eieio.dvi \
|
|
emacs-mime.dvi \
|
|
epa.dvi \
|
|
erc.dvi \
|
|
ert.dvi \
|
|
eshell.dvi \
|
|
eudc.dvi \
|
|
faq.dvi \
|
|
flymake.dvi \
|
|
forms.dvi \
|
|
gnus.dvi \
|
|
emacs-gnutls.dvi \
|
|
idlwave.dvi \
|
|
info.dvi \
|
|
mairix-el.dvi \
|
|
message.dvi \
|
|
mh-e.dvi \
|
|
newsticker.dvi \
|
|
nxml-mode.dvi \
|
|
org.dvi \
|
|
pcl-cvs.dvi \
|
|
pgg.dvi \
|
|
rcirc.dvi \
|
|
reftex.dvi \
|
|
remember.dvi \
|
|
sasl.dvi \
|
|
sc.dvi \
|
|
semantic.dvi \
|
|
ses.dvi \
|
|
sieve.dvi \
|
|
smtpmail.dvi \
|
|
speedbar.dvi \
|
|
tramp.dvi \
|
|
url.dvi \
|
|
vip.dvi \
|
|
viper.dvi \
|
|
widget.dvi \
|
|
woman.dvi
|
|
|
|
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 \
|
|
ert.pdf \
|
|
eshell.pdf \
|
|
eudc.pdf \
|
|
faq.pdf \
|
|
flymake.pdf \
|
|
forms.pdf \
|
|
gnus.pdf \
|
|
emacs-gnutls.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
|
|
|
|
HTML_TARGETS = emacs-faq.html
|
|
|
|
TEXI2DVI = texi2dvi
|
|
TEXI2PDF = texi2pdf
|
|
|
|
ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
|
|
MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
|
|
|
|
mkinfodir = @${MKDIR_P} ${infodir}
|
|
|
|
.PHONY: info dvi pdf echo-info
|
|
## Prevent implicit rule triggering for foo.info.
|
|
.SUFFIXES:
|
|
|
|
# Default.
|
|
info: $(INFO_TARGETS)
|
|
|
|
## Used by top-level Makefile.
|
|
## Base file names of output info files.
|
|
echo-info:
|
|
@echo "$(INFO_TARGETS) " | \
|
|
sed -e 's|[^ ]*/||g' -e 's/\.info//g' -e "s/ /$(INFO_EXT) /g"
|
|
|
|
# please modify this for all the web manual targets
|
|
webhack: clean
|
|
$(MAKE) pdf MAKEINFO_OPTS="-DWEBHACKDEVEL $(MAKEINFO_OPTS)"
|
|
|
|
dvi: $(DVI_TARGETS)
|
|
|
|
pdf: $(PDF_TARGETS)
|
|
|
|
# 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.
|
|
|
|
# Note: "<" is not portable in ordinary make rules.
|
|
|
|
ada-mode : $(infodir)/ada-mode$(INFO_EXT)
|
|
$(infodir)/ada-mode$(INFO_EXT): ${srcdir}/ada-mode.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ada-mode.texi
|
|
ada-mode.dvi: ${srcdir}/ada-mode.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
|
|
ada-mode.pdf: ${srcdir}/ada-mode.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi
|
|
|
|
auth : $(infodir)/auth$(INFO_EXT)
|
|
$(infodir)/auth$(INFO_EXT): ${srcdir}/auth.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/auth.texi
|
|
auth.dvi: ${srcdir}/auth.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi
|
|
auth.pdf: ${srcdir}/auth.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi
|
|
|
|
autotype : $(infodir)/autotype$(INFO_EXT)
|
|
$(infodir)/autotype$(INFO_EXT): ${srcdir}/autotype.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/autotype.texi
|
|
autotype.dvi: ${srcdir}/autotype.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
|
|
autotype.pdf: ${srcdir}/autotype.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi
|
|
|
|
calc : $(infodir)/calc$(INFO_EXT)
|
|
$(infodir)/calc$(INFO_EXT): ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/calc.texi
|
|
calc.dvi: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
|
|
calc.pdf: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi
|
|
|
|
ccmode : $(infodir)/ccmode$(INFO_EXT)
|
|
$(infodir)/ccmode$(INFO_EXT): ${srcdir}/cc-mode.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/cc-mode.texi
|
|
cc-mode.dvi: ${srcdir}/cc-mode.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
|
|
cc-mode.pdf: ${srcdir}/cc-mode.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/cc-mode.texi
|
|
|
|
cl : $(infodir)/cl$(INFO_EXT)
|
|
$(infodir)/cl$(INFO_EXT): ${srcdir}/cl.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/cl.texi
|
|
cl.dvi: ${srcdir}/cl.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
|
|
cl.pdf: ${srcdir}/cl.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/cl.texi
|
|
|
|
dbus : $(infodir)/dbus$(INFO_EXT)
|
|
$(infodir)/dbus$(INFO_EXT): ${srcdir}/dbus.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/dbus.texi
|
|
dbus.dvi: ${srcdir}/dbus.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
|
|
dbus.pdf: ${srcdir}/dbus.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi
|
|
|
|
dired-x : $(infodir)/dired-x$(INFO_EXT)
|
|
$(infodir)/dired-x$(INFO_EXT): ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/dired-x.texi
|
|
dired-x.dvi: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
|
|
dired-x.pdf: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/dired-x.texi
|
|
|
|
ebrowse : $(infodir)/ebrowse$(INFO_EXT)
|
|
$(infodir)/ebrowse$(INFO_EXT): ${srcdir}/ebrowse.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ebrowse.texi
|
|
ebrowse.dvi: ${srcdir}/ebrowse.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
|
|
ebrowse.pdf: ${srcdir}/ebrowse.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi
|
|
|
|
ede : $(infodir)/ede$(INFO_EXT)
|
|
$(infodir)/ede$(INFO_EXT): ${srcdir}/ede.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ede.texi
|
|
ede.dvi: ${srcdir}/ede.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi
|
|
ede.pdf: ${srcdir}/ede.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi
|
|
|
|
ediff : $(infodir)/ediff$(INFO_EXT)
|
|
$(infodir)/ediff$(INFO_EXT): ${srcdir}/ediff.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ediff.texi
|
|
ediff.dvi: ${srcdir}/ediff.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
|
|
ediff.pdf: ${srcdir}/ediff.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi
|
|
|
|
edt : $(infodir)/edt$(INFO_EXT)
|
|
$(infodir)/edt$(INFO_EXT): ${srcdir}/edt.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/edt.texi
|
|
edt.dvi: ${srcdir}/edt.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi
|
|
edt.pdf: ${srcdir}/edt.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi
|
|
|
|
eieio : $(infodir)/eieio$(INFO_EXT)
|
|
$(infodir)/eieio$(INFO_EXT): ${srcdir}/eieio.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eieio.texi
|
|
eieio.dvi: ${srcdir}/eieio.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/eieio.texi
|
|
eieio.pdf: ${srcdir}/eieio.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/eieio.texi
|
|
|
|
emacs-gnutls : $(infodir)/emacs-gnutls$(INFO_EXT)
|
|
$(infodir)/emacs-gnutls$(INFO_EXT): ${srcdir}/emacs-gnutls.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/emacs-gnutls.texi
|
|
emacs-gnutls.dvi: ${srcdir}/emacs-gnutls.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-gnutls.texi
|
|
emacs-gnutls.pdf: ${srcdir}/emacs-gnutls.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-gnutls.texi
|
|
|
|
emacs-mime : $(infodir)/emacs-mime$(INFO_EXT)
|
|
$(infodir)/emacs-mime$(INFO_EXT): ${srcdir}/emacs-mime.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) --enable-encoding -o $@ ${srcdir}/emacs-mime.texi
|
|
emacs-mime.dvi: ${srcdir}/emacs-mime.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
|
|
emacs-mime.pdf: ${srcdir}/emacs-mime.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
|
|
|
|
epa : $(infodir)/epa$(INFO_EXT)
|
|
$(infodir)/epa$(INFO_EXT): ${srcdir}/epa.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/epa.texi
|
|
epa.dvi: ${srcdir}/epa.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
|
|
epa.pdf: ${srcdir}/epa.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
|
|
|
|
erc : $(infodir)/erc$(INFO_EXT)
|
|
$(infodir)/erc$(INFO_EXT): ${srcdir}/erc.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/erc.texi
|
|
erc.dvi: ${srcdir}/erc.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
|
|
erc.pdf: ${srcdir}/erc.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
|
|
|
|
ert : $(infodir)/ert$(INFO_EXT)
|
|
$(infodir)/ert$(INFO_EXT): ${srcdir}/ert.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ert.texi
|
|
ert.dvi: ${srcdir}/ert.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/ert.texi
|
|
ert.pdf: ${srcdir}/ert.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/ert.texi
|
|
|
|
eshell : $(infodir)/eshell$(INFO_EXT)
|
|
$(infodir)/eshell$(INFO_EXT): ${srcdir}/eshell.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eshell.texi
|
|
eshell.dvi: ${srcdir}/eshell.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
|
|
eshell.pdf: ${srcdir}/eshell.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
|
|
|
|
eudc : $(infodir)/eudc$(INFO_EXT)
|
|
$(infodir)/eudc$(INFO_EXT): ${srcdir}/eudc.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eudc.texi
|
|
eudc.dvi: ${srcdir}/eudc.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
|
|
eudc.pdf: ${srcdir}/eudc.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
|
|
|
|
efaq : $(infodir)/efaq$(INFO_EXT)
|
|
$(infodir)/efaq$(INFO_EXT): ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/faq.texi
|
|
faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
|
|
faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
|
|
## 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
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
|
|
--css-ref='/layout.css' --html -o $@ ${srcdir}/faq.texi
|
|
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
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ ${srcdir}/faq.texi
|
|
|
|
flymake : $(infodir)/flymake$(INFO_EXT)
|
|
$(infodir)/flymake$(INFO_EXT): ${srcdir}/flymake.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/flymake.texi
|
|
flymake.dvi: ${srcdir}/flymake.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
|
|
flymake.pdf: ${srcdir}/flymake.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
|
|
|
|
forms : $(infodir)/forms$(INFO_EXT)
|
|
$(infodir)/forms$(INFO_EXT): ${srcdir}/forms.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/forms.texi
|
|
forms.dvi: ${srcdir}/forms.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
|
|
forms.pdf: ${srcdir}/forms.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
|
|
|
|
# gnus/message/emacs-mime/sieve/pgg are part of Gnus:
|
|
gnus : $(infodir)/gnus$(INFO_EXT)
|
|
$(infodir)/gnus$(INFO_EXT): ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/gnus.texi
|
|
gnus.dvi: ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi
|
|
sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
|
|
$(ENVADD) $(TEXI2DVI) gnustmp.texi
|
|
cp gnustmp.dvi $*.dvi
|
|
rm gnustmp.*
|
|
gnus.pdf: ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi
|
|
sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
|
|
$(ENVADD) $(TEXI2PDF) gnustmp.texi
|
|
cp gnustmp.pdf $@
|
|
rm gnustmp.*
|
|
|
|
# NB this one needs --no-split even without a .info extension.
|
|
idlwave : $(infodir)/idlwave$(INFO_EXT)
|
|
$(infodir)/idlwave$(INFO_EXT): ${srcdir}/idlwave.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/idlwave.texi
|
|
idlwave.dvi: ${srcdir}/idlwave.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
|
|
idlwave.pdf: ${srcdir}/idlwave.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
|
|
|
|
# NB this one needs --no-split even without a .info extension.
|
|
# Avoid name clash with overall "info" target.
|
|
info.info : $(infodir)/info$(INFO_EXT)
|
|
$(infodir)/info$(INFO_EXT): ${srcdir}/info.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/info.texi
|
|
info.dvi: ${srcdir}/info.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
|
|
info.pdf: ${srcdir}/info.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
|
|
|
|
mairix-el : $(infodir)/mairix-el$(INFO_EXT)
|
|
$(infodir)/mairix-el$(INFO_EXT): ${srcdir}/mairix-el.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/mairix-el.texi
|
|
mairix-el.dvi: ${srcdir}/mairix-el.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
|
|
mairix-el.pdf: ${srcdir}/mairix-el.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
|
|
|
|
message : $(infodir)/message$(INFO_EXT)
|
|
$(infodir)/message$(INFO_EXT): ${srcdir}/message.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/message.texi
|
|
message.dvi: ${srcdir}/message.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
|
|
message.pdf: ${srcdir}/message.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi
|
|
|
|
mh-e : $(infodir)/mh-e$(INFO_EXT)
|
|
$(infodir)/mh-e$(INFO_EXT): ${srcdir}/mh-e.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/mh-e.texi
|
|
mh-e.dvi: ${srcdir}/mh-e.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
|
|
mh-e.pdf: ${srcdir}/mh-e.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
|
|
|
|
newsticker : $(infodir)/newsticker$(INFO_EXT)
|
|
$(infodir)/newsticker$(INFO_EXT): ${srcdir}/newsticker.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/newsticker.texi
|
|
newsticker.dvi: ${srcdir}/newsticker.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
|
|
newsticker.pdf: ${srcdir}/newsticker.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
|
|
|
|
nxml-mode : $(infodir)/nxml-mode$(INFO_EXT)
|
|
$(infodir)/nxml-mode$(INFO_EXT): ${srcdir}/nxml-mode.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/nxml-mode.texi
|
|
nxml-mode.dvi: ${srcdir}/nxml-mode.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
|
|
nxml-mode.pdf: ${srcdir}/nxml-mode.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
|
|
|
|
org : $(infodir)/org$(INFO_EXT)
|
|
$(infodir)/org$(INFO_EXT): ${srcdir}/org.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/org.texi
|
|
org.dvi: ${srcdir}/org.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
|
|
org.pdf: ${srcdir}/org.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
|
|
|
|
pcl-cvs : $(infodir)/pcl-cvs$(INFO_EXT)
|
|
$(infodir)/pcl-cvs$(INFO_EXT): ${srcdir}/pcl-cvs.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/pcl-cvs.texi
|
|
pcl-cvs.dvi: ${srcdir}/pcl-cvs.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
|
|
pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
|
|
|
|
pgg : $(infodir)/pgg$(INFO_EXT)
|
|
$(infodir)/pgg$(INFO_EXT): ${srcdir}/pgg.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/pgg.texi
|
|
pgg.dvi: ${srcdir}/pgg.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
|
|
pgg.pdf: ${srcdir}/pgg.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi
|
|
|
|
rcirc : $(infodir)/rcirc$(INFO_EXT)
|
|
$(infodir)/rcirc$(INFO_EXT): ${srcdir}/rcirc.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/rcirc.texi
|
|
rcirc.dvi: ${srcdir}/rcirc.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
|
|
rcirc.pdf: ${srcdir}/rcirc.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/rcirc.texi
|
|
|
|
reftex : $(infodir)/reftex$(INFO_EXT)
|
|
$(infodir)/reftex$(INFO_EXT): ${srcdir}/reftex.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/reftex.texi
|
|
reftex.dvi: ${srcdir}/reftex.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
|
|
reftex.pdf: ${srcdir}/reftex.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
|
|
|
|
remember : $(infodir)/remember$(INFO_EXT)
|
|
$(infodir)/remember$(INFO_EXT): ${srcdir}/remember.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/remember.texi
|
|
remember.dvi: ${srcdir}/remember.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
|
|
remember.pdf: ${srcdir}/remember.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
|
|
|
|
sasl : $(infodir)/sasl$(INFO_EXT)
|
|
$(infodir)/sasl$(INFO_EXT): ${srcdir}/sasl.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sasl.texi
|
|
sasl.dvi: ${srcdir}/sasl.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
|
|
sasl.pdf: ${srcdir}/sasl.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
|
|
|
|
sc : $(infodir)/sc$(INFO_EXT)
|
|
$(infodir)/sc$(INFO_EXT): ${srcdir}/sc.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sc.texi
|
|
sc.dvi: ${srcdir}/sc.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
|
|
sc.pdf: ${srcdir}/sc.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
|
|
|
|
semantic : $(infodir)/semantic$(INFO_EXT)
|
|
$(infodir)/semantic$(INFO_EXT): ${srcdir}/semantic.texi ${srcdir}/sem-user.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/semantic.texi
|
|
semantic.dvi: ${srcdir}/semantic.texi ${srcdir}/sem-user.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
|
|
semantic.pdf: ${srcdir}/semantic.texi ${srcdir}/sem-user.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
|
|
|
|
ses : $(infodir)/ses$(INFO_EXT)
|
|
$(infodir)/ses$(INFO_EXT): ${srcdir}/ses.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ses.texi
|
|
ses.dvi: ${srcdir}/ses.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
|
|
ses.pdf: ${srcdir}/ses.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi
|
|
|
|
sieve : $(infodir)/sieve$(INFO_EXT)
|
|
$(infodir)/sieve$(INFO_EXT): ${srcdir}/sieve.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sieve.texi
|
|
sieve.dvi: ${srcdir}/sieve.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
|
|
sieve.pdf: ${srcdir}/sieve.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/sieve.texi
|
|
|
|
smtpmail : $(infodir)/smtpmail$(INFO_EXT)
|
|
$(infodir)/smtpmail$(INFO_EXT): ${srcdir}/smtpmail.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/smtpmail.texi
|
|
smtpmail.dvi: ${srcdir}/smtpmail.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
|
|
smtpmail.pdf: ${srcdir}/smtpmail.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/smtpmail.texi
|
|
|
|
speedbar : $(infodir)/speedbar$(INFO_EXT)
|
|
$(infodir)/speedbar$(INFO_EXT): ${srcdir}/speedbar.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/speedbar.texi
|
|
speedbar.dvi: ${srcdir}/speedbar.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
|
|
speedbar.pdf: ${srcdir}/speedbar.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi
|
|
|
|
tramp : $(infodir)/tramp$(INFO_EXT)
|
|
$(infodir)/tramp$(INFO_EXT): ${srcdir}/tramp.texi ${srcdir}/trampver.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ -D emacs ${srcdir}/tramp.texi
|
|
tramp.dvi: ${srcdir}/tramp.texi ${srcdir}/trampver.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
|
|
tramp.pdf: ${srcdir}/tramp.texi ${srcdir}/trampver.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
|
|
|
|
url : $(infodir)/url$(INFO_EXT)
|
|
$(infodir)/url$(INFO_EXT): ${srcdir}/url.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/url.texi
|
|
url.dvi: ${srcdir}/url.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
|
|
url.pdf: ${srcdir}/url.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/url.texi
|
|
|
|
vip : $(infodir)/vip$(INFO_EXT)
|
|
$(infodir)/vip$(INFO_EXT): ${srcdir}/vip.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/vip.texi
|
|
vip.dvi: ${srcdir}/vip.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
|
|
vip.pdf: ${srcdir}/vip.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/vip.texi
|
|
|
|
viper : $(infodir)/viper$(INFO_EXT)
|
|
$(infodir)/viper$(INFO_EXT): ${srcdir}/viper.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/viper.texi
|
|
viper.dvi: ${srcdir}/viper.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
|
|
viper.pdf: ${srcdir}/viper.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/viper.texi
|
|
|
|
widget : $(infodir)/widget$(INFO_EXT)
|
|
$(infodir)/widget$(INFO_EXT): ${srcdir}/widget.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/widget.texi
|
|
widget.dvi: ${srcdir}/widget.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi
|
|
widget.pdf: ${srcdir}/widget.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/widget.texi
|
|
|
|
woman : $(infodir)/woman$(INFO_EXT)
|
|
$(infodir)/woman$(INFO_EXT): ${srcdir}/woman.texi
|
|
$(mkinfodir)
|
|
$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/woman.texi
|
|
woman.dvi: ${srcdir}/woman.texi
|
|
$(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi
|
|
woman.pdf: ${srcdir}/woman.texi
|
|
$(ENVADD) $(TEXI2PDF) ${srcdir}/woman.texi
|
|
|
|
|
|
.PHONY: mostlyclean clean distclean maintainer-clean
|
|
|
|
mostlyclean:
|
|
rm -f *.aux *.log *.toc *.c[mp] *.c[mp]s *.fn *.fns \
|
|
*.ky *.kys *.op *.ops *.p[gj] *.p[gj]s *.sc *.scs \
|
|
*.t[gp] *.t[gp]s *.vr *.vrs
|
|
rm -f gnustmp.*
|
|
|
|
clean: mostlyclean
|
|
rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS) emacs-faq.text
|
|
|
|
distclean: clean
|
|
# rm -f Makefile
|
|
|
|
## infodir is relative to srcdir.
|
|
maintainer-clean: distclean
|
|
cd $(infodir); for file in $(INFO_TARGETS); do \
|
|
file=`echo $${file} | sed 's/\.info$$//'`${INFO_EXT}; \
|
|
rm -f $${file} $${file}-[1-9] $${file}-[1-9][0-9]; \
|
|
done
|
|
|
|
### Makefile ends here
|