+2013-08-12 Glenn Morris <rgm@gnu.org>
+
+ * configure.ac (etcdocdir): Rename from docdir, to avoid confusion
+ with configure's standard --docdir argument. All uses updated.
+ * Makefile.in (etcdocdir): Rename from docdir. All uses updated.
+ (install-etcdoc): Rename from install-doc. All uses updated.
+ (uninstall): Run uninstall-doc.
+ (PSS): Add misc-ps.
+ (INSTALL_DVI, INSTALL_HTML, INSTALL_PDF, INSTALL_PS)
+ (INSTALL_DOC, UNINSTALL_DVI, UNINSTALL_HTML, UNINSTALL_PDF)
+ (UNINSTALL_PS, UNINSTALL_DOC): New variables.
+ ($(INSTALL_DOC), install-doc, install-dvi, install-html, install-pdf)
+ (install-ps, $(UNINSTALL_DOC), uninstall-doc, uninstall-dvi)
+ (uninstall-html, uninstall-pdf, uninstall-ps): New .PHONY rules.
+
2013-08-11 Paul Eggert <eggert@cs.ucla.edu>
Add --with-zlib to 'configure'.
# once.
archlibdir=@archlibdir@
-# Where to put the docstring file.
-docdir=@docdir@
+# Where to put the etc/DOC file.
+etcdocdir=@etcdocdir@
# Where to install Emacs game score files.
gamedir=@gamedir@
-e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \
-e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \
-e 's;\(#.*PATH_GAME\).*$$;\1 "${gamedir}";' \
- -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \
+ -e 's;\(#.*PATH_DOC\).*$$;\1 "${etcdocdir}";') && \
${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h
# Convert MSYS-style /x/foo or Windows-style x:\foo file names
# ==================== Installation ====================
-.PHONY: install install-arch-dep install-arch-indep install-doc install-info
+.PHONY: install install-arch-dep install-arch-indep install-etcdoc install-info
.PHONY: install-man install-etc install-strip install-$(NTDIR)
.PHONY: uninstall uninstall-$(NTDIR)
## don't have to duplicate the list of utilities to install in
## this Makefile as well.
-install: all install-arch-indep install-doc install-arch-dep install-$(NTDIR) blessmail
+install: all install-arch-indep install-etcdoc install-arch-dep install-$(NTDIR) blessmail
@true
## Ensure that $subdir contains a subdirs.el file.
### Install the executables that were compiled specifically for this machine.
### We do install-arch-indep first because the executable needs the
### Lisp files and DOC file to work properly.
-install-arch-dep: src install-arch-indep install-doc install-$(NTDIR)
+install-arch-dep: src install-arch-indep install-etcdoc install-$(NTDIR)
umask 022; ${MKDIR_P} $(DESTDIR)${bindir}
cd lib-src && \
$(MAKE) install $(MFLAGS) prefix=${prefix} \
## We delete etc/DOC* because there may be irrelevant DOC files from
## other builds in the source directory. This is ok because we just
## deleted the entire installed etc/ directory and recreated it.
-## install-doc installs the relevant DOC.
+## install-etcdoc installs the relevant DOC.
## Note that the Makefiles in the etc directory are potentially useful
## in an installed Emacs, so should not be excluded.
## Note that install-arch-indep deletes and recreates the entire
## installed etc/ directory, so we need it to run before this does.
-install-doc: src install-arch-indep
+install-etcdoc: src install-arch-indep
-unset CDPATH; \
- umask 022; ${MKDIR_P} $(DESTDIR)${docdir} ; \
- if [ `cd ./etc; /bin/pwd` != `cd $(DESTDIR)${docdir}; /bin/pwd` ]; \
+ umask 022; ${MKDIR_P} $(DESTDIR)${etcdocdir} ; \
+ if [ `cd ./etc; /bin/pwd` != `cd $(DESTDIR)${etcdocdir}; /bin/pwd` ]; \
then \
docfile="DOC"; \
- echo "Copying etc/$${docfile} to $(DESTDIR)${docdir} ..." ; \
- ${INSTALL_DATA} etc/$${docfile} $(DESTDIR)${docdir}/$${docfile}; \
+ echo "Copying etc/$${docfile} to $(DESTDIR)${etcdocdir} ..." ; \
+ ${INSTALL_DATA} etc/$${docfile} $(DESTDIR)${etcdocdir}/$${docfile}; \
$(set_installuser); \
- chown $${installuser} $(DESTDIR)${docdir}/$${docfile} || true ; \
+ chown $${installuser} $(DESTDIR)${etcdocdir}/$${docfile} || true ; \
else true; fi
install-info: info
### create (but not the noninstalled files such as `make all' would create).
###
### Don't delete the lisp and etc directories if they're in the source tree.
-uninstall: uninstall-$(NTDIR)
+uninstall: uninstall-$(NTDIR) uninstall-doc
cd lib-src && \
$(MAKE) $(MFLAGS) uninstall \
prefix=${prefix} exec_prefix=${exec_prefix} \
HTMLS = lispref-html lispintro-html emacs-html misc-html
INFOS = lispref-info lispintro-info emacs-info misc-info
PDFS = lispref-pdf lispintro-pdf emacs-pdf misc-pdf
-PSS = lispref-ps lispintro-ps emacs-ps # no misc-ps
+PSS = lispref-ps lispintro-ps emacs-ps misc-ps
DOCS = $(DVIS) $(HTMLS) $(INFOS) $(PDFS) $(PSS)
$(DOCS):
.PHONY: $(DOCS) docs pdf ps
.PHONY: info dvi dist check html info-real force-info check-info-dir
+## TODO add etc/refcards.
docs: $(DOCS)
dvi: $(DVIS)
html: $(HTMLS)
pdf: $(PDFS)
ps: $(PSS)
+
+INSTALL_DVI = install-emacs-dvi install-lispref-dvi \
+ install-lispintro-dvi install-misc-dvi
+INSTALL_HTML = install-emacs-html install-lispref-html \
+ install-lispintro-html install-misc-html
+INSTALL_PDF = install-emacs-pdf install-lispref-pdf \
+ install-lispintro-pdf install-misc-pdf
+INSTALL_PS = install-emacs-ps install-lispref-ps \
+ install-lispintro-ps install-misc-ps
+INSTALL_DOC = $(INSTALL_DVI) $(INSTALL_HTML) $(INSTALL_PDF) $(INSTALL_PS)
+
+## Install non .info forms of the documentation.
+## TODO add etc/refcards.
+$(INSTALL_DOC):
+ t=$@; IFS=-; set $$t; IFS=; cd doc/$$2 && $(MAKE) $(MFLAGS) $$1-$$3
+
+.PHONY: $(INSTALL_DOC) install-doc
+.PHONY: install-dvi install-html install-pdf install-ps
+
+install-doc: $(INSTALL_DOC)
+install-dvi: $(INSTALL_DVI)
+install-html: $(INSTALL_HTML)
+install-pdf: $(INSTALL_PDF)
+install-ps: $(INSTALL_PS)
+
+
+UNINSTALL_DVI = uninstall-emacs-dvi uninstall-lispref-dvi \
+ uninstall-lispintro-dvi uninstall-misc-dvi
+UNINSTALL_HTML = uninstall-emacs-html uninstall-lispref-html \
+ uninstall-lispintro-html uninstall-misc-html
+UNINSTALL_PDF = uninstall-emacs-pdf uninstall-lispref-pdf \
+ uninstall-lispintro-pdf uninstall-misc-pdf
+UNINSTALL_PS = uninstall-emacs-ps uninstall-lispref-ps \
+ uninstall-lispintro-ps uninstall-misc-ps
+UNINSTALL_DOC = $(UNINSTALL_DVI) $(UNINSTALL_HTML) $(UNINSTALL_PDF) $(UNINSTALL_PS)
+
+$(UNINSTALL_DOC):
+ t=$@; IFS=-; set $$t; IFS=; cd doc/$$2 && $(MAKE) $(MFLAGS) $$1-$$3
+
+.PHONY: $(UNINSTALL_DOC) uninstall-doc
+.PHONY: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps
+
+uninstall-doc: $(UNINSTALL_DOC)
+uninstall-dvi: $(UNINSTALL_DVI)
+uninstall-html: $(UNINSTALL_HTML)
+uninstall-pdf: $(UNINSTALL_PDF)
+uninstall-ps: $(UNINSTALL_PS)
+
+
force-info:
# Note that man/Makefile knows how to put the info files in $(srcdir),
# so we can do ok running make in the build dir.
lisppath='${locallisppath}:${standardlisppath}'
etcdir='${datadir}/emacs/${version}/etc'
archlibdir='${libexecdir}/emacs/${version}/${configuration}'
-docdir='${datadir}/emacs/${version}/etc'
+etcdocdir='${datadir}/emacs/${version}/etc'
gamedir='${localstatedir}/games/emacs'
dnl Special option to disable the most of other options.
dnl This one isn't really used, only archlibdir is.
libexecdir="\${ns_appbindir}/libexec"
archlibdir="\${ns_appbindir}/libexec"
- docdir="\${ns_appresdir}/etc"
+ etcdocdir="\${ns_appresdir}/etc"
etcdir="\${ns_appresdir}/etc"
dnl FIXME maybe set datarootdir instead.
dnl That would also get applications, icons, man.
AC_SUBST(x_default_search_path)
AC_SUBST(etcdir)
AC_SUBST(archlibdir)
-AC_SUBST(docdir)
+AC_SUBST(etcdocdir)
AC_SUBST(bitmapdir)
AC_SUBST(gamedir)
AC_SUBST(gameuser)
+2013-08-12 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (prefix, datarootdir, datadir, PACKAGE_TARNAME)
+ (docdir, dvidir, htmldir, pdfdir, psdir, GZIP_PROG, INSTALL)
+ (INSTALL_DATA): New, set by configure.
+ (HTML_OPTS, DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS):
+ New variables.
+ (.SUFFIXES): Add .ps and .dvi.
+ (.dvi.ps): New suffix rule.
+ (dvi, html, pdf, ps): Use *_TARGETS variables.
+ (emacs.ps, emacs-xtra.ps): Remove explicit rules.
+ (emacs.html): Use HTML_OPTS.
+ (clean): Use DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS.
+ (.PHONY): install-dvi, install-html, install-pdf, install-ps
+ ,install-doc, uninstall-dvi, uninstall-html, uninstall-pdf,
+ uninstall-ps, and uninstall-doc.
+ (install-dvi, install-html, install-pdf, install-ps, install-doc)
+ (uninstall-dvi, uninstall-html, uninstall-ps, uninstall-pdf)
+ (uninstall-doc): New rules.
+
2013-07-31 Eli Zaretskii <eliz@gnu.org>
* emacs.texi (Top): Remove menu item for the removed "Disabling
# Directory with the (customized) texinfo.tex file.
texinfodir = $(srcdir)/../misc
+prefix = @prefix@
+datarootdir = @datarootdir@
+datadir = @datadir@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+docdir = @docdir@
+dvidir = @dvidir@
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+
MKDIR_P = @MKDIR_P@
+GZIP_PROG = @GZIP_PROG@
+
+HTML_OPTS = --no-split --html
+
INFO_EXT=@INFO_EXT@
# Options used only when making info output.
# --no-split is only needed because of MS-DOS.
# http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg01182.html
INFO_OPTS=@INFO_OPTS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
# The makeinfo program is part of the Texinfo distribution.
# Use --force so that it generates output even if there are errors.
MAKEINFO = @MAKEINFO@
ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(TEXINPUTS)" \
MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
+DVI_TARGETS = emacs.dvi emacs-xtra.dvi
+HTML_TARGETS = emacs.html
+PDF_TARGETS = emacs.pdf emacs-xtra.pdf
+PS_TARGETS = emacs.ps emacs-xtra.ps
EMACS_XTRA= \
${srcdir}/emacs-xtra.texi \
.PHONY: info dvi html pdf ps
+.SUFFIXES: .ps .dvi
+
+.dvi.ps:
+ $(DVIPS) -o $@ $<
+
info: $(buildinfodir)/emacs$(INFO_EXT)
-dvi: emacs.dvi
-html: emacs.html
-pdf: emacs.pdf
-ps: emacs.ps
+dvi: $(DVI_TARGETS)
+html: $(HTML_TARGETS)
+pdf: $(PDF_TARGETS)
+ps: $(PS_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.
emacs.dvi: ${EMACSSOURCES}
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi
-emacs.ps: emacs.dvi
- $(DVIPS) -o $@ emacs.dvi
-
emacs.pdf: ${EMACSSOURCES}
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs.texi
emacs.html: ${EMACSSOURCES}
- $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ ${srcdir}/emacs.texi
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/emacs.texi
emacs-xtra.dvi: $(EMACS_XTRA)
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-xtra.texi
-emacs-xtra.ps: emacs-xtra.dvi
- $(DVIPS) -o $@ emacs-xtra.dvi
-
emacs-xtra.pdf: $(EMACS_XTRA)
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-xtra.texi
## Products not in the release tarfiles.
clean: mostlyclean
- rm -f emacs.dvi emacs-xtra.dvi emacs.pdf emacs-xtra.pdf \
- emacs.ps emacs-xtra.ps
- rm -rf emacs.html/
+ rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS)
rm -f emacs-manual-${version}.tar*
distclean: clean
tar -cf emacs-manual-${version}.tar emacs-manual-${version}
rm -rf emacs-manual-${version}
+
+.PHONY: install-dvi install-html install-pdf install-ps install-doc
+
+install-dvi: dvi
+ umask 022; $(MKDIR_P) $(DESTDIR)$(dvidir)
+ $(INSTALL_DATA) $(DVI_TARGETS) $(DESTDIR)$(dvidir)
+install-html: html
+ umask 022; $(MKDIR_P) $(DESTDIR)$(htmldir)
+ $(INSTALL_DATA) $(HTML_TARGETS) $(DESTDIR)$(htmldir)
+install-pdf: pdf
+ umask 022;$(MKDIR_P) $(DESTDIR)$(pdfdir)
+ $(INSTALL_DATA) $(PDF_TARGETS) $(DESTDIR)$(pdfdir)
+install-ps: ps
+ umask 022; $(MKDIR_P) $(DESTDIR)$(psdir)
+ for file in $(PS_TARGETS); do \
+ $(INSTALL_DATA) $${file} $(DESTDIR)$(psdir); \
+ [ -n "${GZIP_PROG}" ] || continue; \
+ rm -f $(DESTDIR)$(psdir)/$${file}.gz; \
+ ${GZIP_PROG} -9n $(DESTDIR)$(psdir)/$${file}; \
+ done
+
+## Top-level Makefile installs the info pages.
+install-doc: install-dvi install-html install-pdf install-ps
+
+
+.PHONY: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps uninstall-doc
+
+uninstall-dvi:
+ for file in $(DVI_TARGETS); do \
+ rm -f $(DESTDIR)$(dvidir)/$${file}; \
+ done
+uninstall-html:
+ for file in $(HTML_TARGETS); do \
+ rm -f $(DESTDIR)$(htmldir)/$${file}; \
+ done
+uninstall-ps:
+ ext= ; [ -n "${GZIP_PROG}" ] && ext=.gz; \
+ for file in $(PS_TARGETS); do \
+ rm -f $(DESTDIR)$(psdir)/$${file}$${ext}; \
+ done
+uninstall-pdf:
+ for file in $(PDF_TARGETS); do \
+ rm -f $(DESTDIR)$(pdfdir)/$${file}; \
+ done
+
+uninstall-doc: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps
+
+
### Makefile ends here
+2013-08-12 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (prefix, datarootdir, datadir, PACKAGE_TARNAME)
+ (docdir, dvidir, htmldir, pdfdir, psdir, GZIP_PROG, INSTALL)
+ (INSTALL_DATA): New, set by configure.
+ (HTML_OPTS, DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS):
+ New variables.
+ (.SUFFIXES): Add .ps and .dvi.
+ (.dvi.ps): New suffix rule.
+ (dvi, html, pdf, ps): Use *_TARGETS variables.
+ (emacs-lisp-intro.ps): Remove explicit rule.
+ (emacs-lisp-intro.html): Use HTML_OPTS.
+ (clean): Use DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS.
+ (.PHONY): install-dvi, install-html, install-pdf, install-ps
+ ,install-doc, uninstall-dvi, uninstall-html, uninstall-pdf,
+ uninstall-ps, and uninstall-doc.
+ (install-dvi, install-html, install-pdf, install-ps, install-doc)
+ (uninstall-dvi, uninstall-html, uninstall-ps, uninstall-pdf)
+ (uninstall-doc): New rules.
+
2013-08-07 Eli Zaretskii <eliz@gnu.org>
* emacs-lisp-intro.texi (Beginning init File): Rename from
# Directory with emacsver.texi.
emacsdir = $(srcdir)/../emacs
+prefix = @prefix@
+datarootdir = @datarootdir@
+datadir = @datadir@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+docdir = @docdir@
+dvidir = @dvidir@
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+
MKDIR_P = @MKDIR_P@
+GZIP_PROG = @GZIP_PROG@
+
+HTML_OPTS = --no-split --html
+
INFO_EXT=@INFO_EXT@
# Options used only when making info output.
INFO_OPTS=@INFO_OPTS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
MAKEINFO = @MAKEINFO@
MAKEINFO_OPTS = --force -I $(emacsdir) -I $(srcdir)
TEXI2DVI = texi2dvi
ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(emacsdir):$(TEXINPUTS)" \
MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
+DVI_TARGETS = emacs-lisp-intro.dvi
+HTML_TARGETS = emacs-lisp-intro.html
+PDF_TARGETS = emacs-lisp-intro.pdf
+PS_TARGETS = emacs-lisp-intro.ps
+
mkinfodir = @${MKDIR_P} ${buildinfodir}
srcs = ${srcdir}/emacs-lisp-intro.texi ${srcdir}/doclicense.texi \
.PHONY: info dvi html pdf ps
+.SUFFIXES: .ps .dvi
+
+.dvi.ps:
+ $(DVIPS) -o $@ $<
+
info: ${buildinfodir}/eintr$(INFO_EXT)
-dvi: emacs-lisp-intro.dvi
-html: emacs-lisp-intro.html
-pdf: emacs-lisp-intro.pdf
-ps: emacs-lisp-intro.ps
+dvi: $(DVI_TARGETS)
+html: $(HTML_TARGETS)
+pdf: $(PDF_TARGETS)
+ps: $(PS_TARGETS)
# The file name eintr must fit within 5 characters, to allow for
# -NN extensions to fit into DOS 8+3 limits without clashing.
emacs-lisp-intro.dvi: ${srcs}
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-lisp-intro.texi
-emacs-lisp-intro.ps: emacs-lisp-intro.dvi
- $(DVIPS) -o $@ emacs-lisp-intro.dvi
-
emacs-lisp-intro.pdf: ${srcs}
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-lisp-intro.texi
emacs-lisp-intro.html: ${srcs}
- $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ ${srcdir}/emacs-lisp-intro.texi
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/emacs-lisp-intro.texi
.PHONY: mostlyclean clean distclean maintainer-clean infoclean
*.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
clean: mostlyclean
- rm -f emacs-lisp-intro.dvi emacs-lisp-intro.pdf emacs-lisp-intro.ps
- rm -rf emacs-lisp-intro.html/
+ rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS)
rm -f emacs-lispintro-${version}.tar*
distclean: clean
tar -cf emacs-lispintro-${version}.tar emacs-lispintro-${version}
rm -rf emacs-lispintro-${version}
+
+.PHONY: install-dvi install-html install-pdf install-ps install-doc
+
+install-dvi: dvi
+ umask 022; $(MKDIR_P) $(DESTDIR)$(dvidir)
+ $(INSTALL_DATA) $(DVI_TARGETS) $(DESTDIR)$(dvidir)
+install-html: html
+ umask 022; $(MKDIR_P) $(DESTDIR)$(htmldir)
+ $(INSTALL_DATA) $(HTML_TARGETS) $(DESTDIR)$(htmldir)
+install-pdf: pdf
+ umask 022;$(MKDIR_P) $(DESTDIR)$(pdfdir)
+ $(INSTALL_DATA) $(PDF_TARGETS) $(DESTDIR)$(pdfdir)
+install-ps: ps
+ umask 022; $(MKDIR_P) $(DESTDIR)$(psdir)
+ for file in $(PS_TARGETS); do \
+ $(INSTALL_DATA) $${file} $(DESTDIR)$(psdir); \
+ [ -n "${GZIP_PROG}" ] || continue; \
+ rm -f $(DESTDIR)$(psdir)/$${file}.gz; \
+ ${GZIP_PROG} -9n $(DESTDIR)$(psdir)/$${file}; \
+ done
+
+## Top-level Makefile installs the info pages.
+install-doc: install-dvi install-html install-pdf install-ps
+
+
+.PHONY: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps uninstall-doc
+
+uninstall-dvi:
+ for file in $(DVI_TARGETS); do \
+ rm -f $(DESTDIR)$(dvidir)/$${file}; \
+ done
+uninstall-html:
+ for file in $(HTML_TARGETS); do \
+ rm -f $(DESTDIR)$(htmldir)/$${file}; \
+ done
+uninstall-ps:
+ ext= ; [ -n "${GZIP_PROG}" ] && ext=.gz; \
+ for file in $(PS_TARGETS); do \
+ rm -f $(DESTDIR)$(psdir)/$${file}$${ext}; \
+ done
+uninstall-pdf:
+ for file in $(PDF_TARGETS); do \
+ rm -f $(DESTDIR)$(pdfdir)/$${file}; \
+ done
+
+uninstall-doc: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps
+
+
### Makefile ends here
+2013-08-12 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (prefix, datarootdir, datadir, PACKAGE_TARNAME)
+ (docdir, dvidir, htmldir, pdfdir, psdir, GZIP_PROG, INSTALL)
+ (INSTALL_DATA): New, set by configure.
+ (HTML_OPTS, DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS):
+ New variables.
+ (.SUFFIXES): Add .ps and .dvi.
+ (.dvi.ps): New suffix rule.
+ (dvi, html, pdf, ps): Use *_TARGETS variables.
+ (elisp.html): Use HTML_OPTS.
+ (elisp.ps): Remove explicit rule.
+ (.PHONY): install-dvi, install-html, install-pdf, install-ps
+ ,install-doc, uninstall-dvi, uninstall-html, uninstall-pdf,
+ uninstall-ps, and uninstall-doc.
+ (install-dvi, install-html, install-pdf, install-ps, install-doc)
+ (uninstall-dvi, uninstall-html, uninstall-ps, uninstall-pdf)
+ (uninstall-doc): New rules.
+ (clean): Use DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS.
+
2013-08-10 Xue Fuqiao <xfq.free@gmail.com>
* edebug.texi (Instrumenting Macro Calls): Use @defmac for macros.
# Directory with emacsver.texi.
emacsdir = $(srcdir)/../emacs
+prefix = @prefix@
+datarootdir = @datarootdir@
+datadir = @datadir@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+docdir = @docdir@
+dvidir = @dvidir@
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+
MKDIR_P = @MKDIR_P@
+GZIP_PROG = @GZIP_PROG@
+
+HTML_OPTS = --no-split --html
+
INFO_EXT=@INFO_EXT@
# Options used only when making info output.
INFO_OPTS=@INFO_OPTS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
MAKEINFO = @MAKEINFO@
MAKEINFO_OPTS = --force --enable-encoding -I $(emacsdir) -I $(srcdir)
TEXI2DVI = texi2dvi
ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(emacsdir):$(TEXINPUTS)" \
MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
+DVI_TARGETS = elisp.dvi
+HTML_TARGETS = elisp.html
+PDF_TARGETS = elisp.pdf
+PS_TARGETS = elisp.ps
+
# List of all the texinfo files in the manual:
srcs = \
.PHONY: info dvi pdf ps
+.SUFFIXES: .ps .dvi
+
+.dvi.ps:
+ $(DVIPS) -o $@ $<
+
info: $(buildinfodir)/elisp$(INFO_EXT)
-dvi: elisp.dvi
-html: elisp.html
-pdf: elisp.pdf
-ps: elisp.ps
+dvi: $(DVI_TARGETS)
+html: $(HTML_TARGETS)
+pdf: $(PDF_TARGETS)
+ps: $(PS_TARGETS)
## Note: "<" is not portable in ordinary make rules.
$(buildinfodir)/elisp$(INFO_EXT): $(srcs)
$(ENVADD) $(TEXI2DVI) $(srcdir)/elisp.texi
elisp.html: $(srcs)
- $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $(srcdir)/elisp.texi
-
-elisp.ps: elisp.dvi
- $(DVIPS) -o $@ elisp.dvi
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ $(srcdir)/elisp.texi
elisp.pdf: $(srcs)
$(ENVADD) $(TEXI2PDF) $(srcdir)/elisp.texi
rm -f elisp[12]* vol[12].tmp
clean: mostlyclean
- rm -f elisp.dvi elisp.pdf elisp.ps
+ rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS)
rm -f vol[12].dvi vol[12].pdf vol[12].ps
- rm -rf elisp.html
rm -f emacs-lispref-${version}.tar*
distclean: clean
tar -cf emacs-lispref-${version}.tar emacs-lispref-${version}
rm -rf emacs-lispref-${version}
+.PHONY: install-dvi install-html install-pdf install-ps install-doc
+
+install-dvi: dvi
+ umask 022; $(MKDIR_P) $(DESTDIR)$(dvidir)
+ $(INSTALL_DATA) $(DVI_TARGETS) $(DESTDIR)$(dvidir)
+install-html: html
+ umask 022; $(MKDIR_P) $(DESTDIR)$(htmldir)
+ $(INSTALL_DATA) $(HTML_TARGETS) $(DESTDIR)$(htmldir)
+install-pdf: pdf
+ umask 022;$(MKDIR_P) $(DESTDIR)$(pdfdir)
+ $(INSTALL_DATA) $(PDF_TARGETS) $(DESTDIR)$(pdfdir)
+install-ps: ps
+ umask 022; $(MKDIR_P) $(DESTDIR)$(psdir)
+ for file in $(PS_TARGETS); do \
+ $(INSTALL_DATA) $${file} $(DESTDIR)$(psdir); \
+ [ -n "${GZIP_PROG}" ] || continue; \
+ rm -f $(DESTDIR)$(psdir)/$${file}.gz; \
+ ${GZIP_PROG} -9n $(DESTDIR)$(psdir)/$${file}; \
+ done
+
+## Top-level Makefile installs the info pages.
+install-doc: install-dvi install-html install-pdf install-ps
+
+
+.PHONY: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps uninstall-doc
+
+uninstall-dvi:
+ for file in $(DVI_TARGETS); do \
+ rm -f $(DESTDIR)$(dvidir)/$${file}; \
+ done
+uninstall-html:
+ for file in $(HTML_TARGETS); do \
+ rm -f $(DESTDIR)$(htmldir)/$${file}; \
+ done
+uninstall-ps:
+ ext= ; [ -n "${GZIP_PROG}" ] && ext=.gz; \
+ for file in $(PS_TARGETS); do \
+ rm -f $(DESTDIR)$(psdir)/$${file}$${ext}; \
+ done
+uninstall-pdf:
+ for file in $(PDF_TARGETS); do \
+ rm -f $(DESTDIR)$(pdfdir)/$${file}; \
+ done
+
+uninstall-doc: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps
+
+
### Makefile ends here
+2013-08-12 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (prefix, datarootdir, datadir, PACKAGE_TARNAME)
+ (docdir, dvidir, htmldir, pdfdir, psdir, GZIP_PROG, INSTALL)
+ (INSTALL_DATA): New, set by configure.
+ (HTML_OPTS, HTML_TARGETS, PS_TARGETS, DVIPS): New variables.
+ (.PHONY): Add html, ps, install-dvi, install-html, install-pdf,
+ install-ps ,install-doc, uninstall-dvi, uninstall-html, uninstall-pdf,
+ uninstall-ps, and uninstall-doc.
+ (.SUFFIXES): Add .ps and .dvi.
+ (.dvi.ps): New suffix rule.
+ (html, ps, ada-mode.html, auth.html, autotype.html, bovine.html)
+ (calc.html, cc-mode.html, cl.html, dbus.html, dired-x.html)
+ (ebrowse.html, ede.html, ediff.html, edt.html, eieio.html)
+ (emacs-gnutls.html, emacs-mime.html, epa.html, erc.html)
+ (ert.html, eshell.html, eudc.html, faq.html, flymake.html)
+ (forms.html, gnus.html, htmlfontify.html, idlwave.html)
+ (ido.html, mairix-el.html, message.html, mh-e.html)
+ (newsticker.html, nxml-mode.html, org.html, pgg.html)
+ (rcirc.html, reftex.html, remember.html, sasl.html, sc.html)
+ (semantic.html, sieve.html, smtpmail.html, speedbar.html)
+ (srecode.html, todo-mode.html, tramp.html, url.html, vip.html)
+ (viper.html, widget.html, wisent.html, woman.html, install-dvi)
+ (install-html, install-pdf, install-ps, install-doc, uninstall-dvi)
+ (uninstall-html, uninstall-ps, uninstall-pdf, uninstall-doc):
+ New rules.
+ (clean): Remove HTML_TARGETS and PS_TARGETS.
+
2013-08-10 Xue Fuqiao <xfq.free@gmail.com>
* ido.texi (Working Directories):
## Directory with emacsver.texi.
emacsdir = $(srcdir)/../emacs
+prefix = @prefix@
+datarootdir = @datarootdir@
+datadir = @datadir@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+docdir = @docdir@
+dvidir = @dvidir@
+htmldir = @htmldir@
+pdfdir = @pdfdir@
+psdir = @psdir@
+
MKDIR_P = @MKDIR_P@
+GZIP_PROG = @GZIP_PROG@
+
+HTML_OPTS = --no-split --html
+
INFO_EXT=@INFO_EXT@
# Options used only when making info output.
INFO_OPTS=@INFO_OPTS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
# The makeinfo program is part of the Texinfo distribution.
# Use --force so that it generates output even if there are errors.
MAKEINFO = @MAKEINFO@
wisent.dvi \
woman.dvi
+HTML_TARGETS = \
+ ada-mode.html \
+ auth.html \
+ autotype.html \
+ bovine.html \
+ calc.html \
+ cc-mode.html \
+ cl.html \
+ dbus.html \
+ dired-x.html \
+ ebrowse.html \
+ ede.html \
+ ediff.html \
+ edt.html \
+ eieio.html \
+ emacs-mime.html \
+ epa.html \
+ erc.html \
+ ert.html \
+ eshell.html \
+ eudc.html \
+ faq.html \
+ flymake.html \
+ forms.html \
+ gnus.html \
+ emacs-gnutls.html \
+ htmlfontify.html \
+ idlwave.html \
+ ido.html \
+ info.html \
+ mairix-el.html \
+ message.html \
+ mh-e.html \
+ newsticker.html \
+ nxml-mode.html \
+ org.html \
+ pcl-cvs.html \
+ pgg.html \
+ rcirc.html \
+ reftex.html \
+ remember.html \
+ sasl.html \
+ sc.html \
+ semantic.html \
+ ses.html \
+ sieve.html \
+ smtpmail.html \
+ speedbar.html \
+ srecode.html \
+ todo-mode.html \
+ tramp.html \
+ url.html \
+ vip.html \
+ viper.html \
+ widget.html \
+ wisent.html \
+ woman.html
+
PDF_TARGETS = \
ada-mode.pdf \
auth.pdf \
wisent.pdf \
woman.pdf
+PS_TARGETS = \
+ ada-mode.ps \
+ auth.ps \
+ autotype.ps \
+ bovine.ps \
+ calc.ps \
+ cc-mode.ps \
+ cl.ps \
+ dbus.ps \
+ dired-x.ps \
+ ebrowse.ps \
+ ede.ps \
+ ediff.ps \
+ edt.ps \
+ eieio.ps \
+ emacs-mime.ps \
+ epa.ps \
+ erc.ps \
+ ert.ps \
+ eshell.ps \
+ eudc.ps \
+ faq.ps \
+ flymake.ps \
+ forms.ps \
+ gnus.ps \
+ htmlfontify.ps \
+ emacs-gnutls.ps \
+ idlwave.ps \
+ ido.ps \
+ info.ps \
+ mairix-el.ps \
+ message.ps \
+ mh-e.ps \
+ newsticker.ps \
+ nxml-mode.ps \
+ org.ps \
+ pcl-cvs.ps \
+ pgg.ps \
+ rcirc.ps \
+ reftex.ps \
+ remember.ps \
+ sasl.ps \
+ sc.ps \
+ semantic.ps \
+ ses.ps \
+ sieve.ps \
+ smtpmail.ps \
+ speedbar.ps \
+ srecode.ps \
+ todo-mode.ps \
+ tramp.ps \
+ url.ps \
+ vip.ps \
+ viper.ps \
+ widget.ps \
+ wisent.ps \
+ woman.ps
+
TEXI2DVI = texi2dvi
TEXI2PDF = texi2pdf
+DVIPS = dvips
ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
gfdl = ${srcdir}/doclicense.texi
-.PHONY: info dvi pdf echo-info
+.PHONY: info dvi html pdf ps echo-info
## Prevent implicit rule triggering for foo.info.
.SUFFIXES:
+.SUFFIXES: .ps .dvi
+
+.dvi.ps:
+ $(DVIPS) -o $@ $<
+
# Default.
info: $(INFO_TARGETS)
dvi: $(DVI_TARGETS)
+html: $(HTML_TARGETS)
+
pdf: $(PDF_TARGETS)
+ps: $(PS_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.
$(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
ada-mode.pdf: ${srcdir}/ada-mode.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi
+ada-mode.html: ${srcdir}/ada-mode.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/ada-mode.texi
auth : $(buildinfodir)/auth$(INFO_EXT)
$(buildinfodir)/auth$(INFO_EXT): ${srcdir}/auth.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi
auth.pdf: ${srcdir}/auth.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi
+auth.html: ${srcdir}/auth.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/auth.texi
autotype : $(buildinfodir)/autotype$(INFO_EXT)
$(buildinfodir)/autotype$(INFO_EXT): ${srcdir}/autotype.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
autotype.pdf: ${srcdir}/autotype.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi
+autotype.html: ${srcdir}/autotype.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/autotype.texi
bovine : $(buildinfodir)/bovine$(INFO_EXT)
$(buildinfodir)/bovine$(INFO_EXT): ${srcdir}/bovine.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/bovine.texi
bovine.pdf: ${srcdir}/bovine.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/bovine.texi
+bovine.html: ${srcdir}/bovine.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/bovine.texi
calc : $(buildinfodir)/calc$(INFO_EXT)
$(buildinfodir)/calc$(INFO_EXT): ${srcdir}/calc.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
calc.pdf: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi
+calc.html: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/calc.texi
ccmode : $(buildinfodir)/ccmode$(INFO_EXT)
$(buildinfodir)/ccmode$(INFO_EXT): ${srcdir}/cc-mode.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
cc-mode.pdf: ${srcdir}/cc-mode.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/cc-mode.texi
+cc-mode.html: ${srcdir}/cc-mode.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/cc-mode.texi
cl : $(buildinfodir)/cl$(INFO_EXT)
$(buildinfodir)/cl$(INFO_EXT): ${srcdir}/cl.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
cl.pdf: ${srcdir}/cl.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/cl.texi
+cl.html: ${srcdir}/cl.texi $(emacsdir)/emacsver.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/cl.texi
dbus : $(buildinfodir)/dbus$(INFO_EXT)
$(buildinfodir)/dbus$(INFO_EXT): ${srcdir}/dbus.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
dbus.pdf: ${srcdir}/dbus.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi
+dbus.html: ${srcdir}/dbus.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/dbus.texi
dired-x : $(buildinfodir)/dired-x$(INFO_EXT)
$(buildinfodir)/dired-x$(INFO_EXT): ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
dired-x.pdf: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/dired-x.texi
+dired-x.html: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/dired-x.texi
ebrowse : $(buildinfodir)/ebrowse$(INFO_EXT)
$(buildinfodir)/ebrowse$(INFO_EXT): ${srcdir}/ebrowse.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
ebrowse.pdf: ${srcdir}/ebrowse.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi
+ebrowse.html: ${srcdir}/ebrowse.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/ebrowse.texi
ede : $(buildinfodir)/ede$(INFO_EXT)
$(buildinfodir)/ede$(INFO_EXT): ${srcdir}/ede.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi
ede.pdf: ${srcdir}/ede.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi
+ede.html: ${srcdir}/ede.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/ede.texi
ediff : $(buildinfodir)/ediff$(INFO_EXT)
$(buildinfodir)/ediff$(INFO_EXT): ${srcdir}/ediff.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
ediff.pdf: ${srcdir}/ediff.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi
+ediff.html: ${srcdir}/ediff.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/ediff.texi
edt : $(buildinfodir)/edt$(INFO_EXT)
$(buildinfodir)/edt$(INFO_EXT): ${srcdir}/edt.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi
edt.pdf: ${srcdir}/edt.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi
+edt.html: ${srcdir}/edt.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/edt.texi
eieio : $(buildinfodir)/eieio$(INFO_EXT)
$(buildinfodir)/eieio$(INFO_EXT): ${srcdir}/eieio.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/eieio.texi
eieio.pdf: ${srcdir}/eieio.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/eieio.texi
+eieio.html: ${srcdir}/eieio.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/eieio.texi
emacs-gnutls : $(buildinfodir)/emacs-gnutls$(INFO_EXT)
$(buildinfodir)/emacs-gnutls$(INFO_EXT): ${srcdir}/emacs-gnutls.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-gnutls.texi
emacs-gnutls.pdf: ${srcdir}/emacs-gnutls.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-gnutls.texi
+emacs-gnutls.html: ${srcdir}/emacs-gnutls.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/emacs-gnutls.texi
emacs-mime : $(buildinfodir)/emacs-mime$(INFO_EXT)
$(buildinfodir)/emacs-mime$(INFO_EXT): ${srcdir}/emacs-mime.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
emacs-mime.pdf: ${srcdir}/emacs-mime.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
+emacs-mime.html: ${srcdir}/emacs-mime.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) --enable-encoding -o $@ ${srcdir}/emacs-mime.texi
epa : $(buildinfodir)/epa$(INFO_EXT)
$(buildinfodir)/epa$(INFO_EXT): ${srcdir}/epa.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
epa.pdf: ${srcdir}/epa.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
+epa.html: ${srcdir}/epa.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/epa.texi
erc : $(buildinfodir)/erc$(INFO_EXT)
$(buildinfodir)/erc$(INFO_EXT): ${srcdir}/erc.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
erc.pdf: ${srcdir}/erc.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
+erc.html: ${srcdir}/erc.texi $(emacsdir)/emacsver.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/erc.texi
ert : $(buildinfodir)/ert$(INFO_EXT)
$(buildinfodir)/ert$(INFO_EXT): ${srcdir}/ert.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/ert.texi
ert.pdf: ${srcdir}/ert.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/ert.texi
+ert.html: ${srcdir}/ert.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/ert.texi
eshell : $(buildinfodir)/eshell$(INFO_EXT)
$(buildinfodir)/eshell$(INFO_EXT): ${srcdir}/eshell.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
eshell.pdf: ${srcdir}/eshell.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
+eshell.html: ${srcdir}/eshell.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/eshell.texi
eudc : $(buildinfodir)/eudc$(INFO_EXT)
$(buildinfodir)/eudc$(INFO_EXT): ${srcdir}/eudc.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
eudc.pdf: ${srcdir}/eudc.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
+eudc.html: ${srcdir}/eudc.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/eudc.texi
## No gfdl dependency.
efaq : $(buildinfodir)/efaq$(INFO_EXT)
$(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
$(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
+faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/faq.texi
flymake : $(buildinfodir)/flymake$(INFO_EXT)
$(buildinfodir)/flymake$(INFO_EXT): ${srcdir}/flymake.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
flymake.pdf: ${srcdir}/flymake.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
+flymake.html: ${srcdir}/flymake.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/flymake.texi
forms : $(buildinfodir)/forms$(INFO_EXT)
$(buildinfodir)/forms$(INFO_EXT): ${srcdir}/forms.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
forms.pdf: ${srcdir}/forms.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
+forms.html: ${srcdir}/forms.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/forms.texi
# gnus/message/emacs-mime/sieve/pgg are part of Gnus:
gnus : $(buildinfodir)/gnus$(INFO_EXT)
$(ENVADD) $(TEXI2PDF) gnustmp.texi
cp gnustmp.pdf $@
rm gnustmp.*
+gnus.html: ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/gnus.texi
htmlfontify : $(buildinfodir)/htmlfontify$(INFO_EXT)
$(buildinfodir)/htmlfontify$(INFO_EXT): ${srcdir}/htmlfontify.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/htmlfontify.texi
htmlfontify.pdf: ${srcdir}/htmlfontify.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/htmlfontify.texi
+htmlfontify.html: ${srcdir}/htmlfontify.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/htmlfontify.texi
# NB this one needs --no-split even without a .info extension.
idlwave : $(buildinfodir)/idlwave$(INFO_EXT)
$(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
idlwave.pdf: ${srcdir}/idlwave.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
+idlwave.html: ${srcdir}/idlwave.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/idlwave.texi
ido : $(buildinfodir)/ido$(INFO_EXT)
$(buildinfodir)/ido$(INFO_EXT): ${srcdir}/ido.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/ido.texi
ido.pdf: ${srcdir}/ido.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/ido.texi
+ido.html: ${srcdir}/ido.texi $(emacsdir)/emacsver.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/ido.texi
# NB this one needs --no-split even without a .info extension.
# Avoid name clash with overall "info" target.
$(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
info.pdf: ${srcdir}/info.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
+info.html: ${srcdir}/info.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/info.texi
mairix-el : $(buildinfodir)/mairix-el$(INFO_EXT)
$(buildinfodir)/mairix-el$(INFO_EXT): ${srcdir}/mairix-el.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
mairix-el.pdf: ${srcdir}/mairix-el.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
+mairix-el.html: ${srcdir}/mairix-el.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/mairix-el.texi
message : $(buildinfodir)/message$(INFO_EXT)
$(buildinfodir)/message$(INFO_EXT): ${srcdir}/message.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
message.pdf: ${srcdir}/message.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi
+message.html: ${srcdir}/message.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/message.texi
mh-e : $(buildinfodir)/mh-e$(INFO_EXT)
$(buildinfodir)/mh-e$(INFO_EXT): ${srcdir}/mh-e.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
mh-e.pdf: ${srcdir}/mh-e.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
+mh-e.html: ${srcdir}/mh-e.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/mh-e.texi
newsticker : $(buildinfodir)/newsticker$(INFO_EXT)
$(buildinfodir)/newsticker$(INFO_EXT): ${srcdir}/newsticker.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
newsticker.pdf: ${srcdir}/newsticker.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
+newsticker.html: ${srcdir}/newsticker.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/newsticker.texi
nxml-mode : $(buildinfodir)/nxml-mode$(INFO_EXT)
$(buildinfodir)/nxml-mode$(INFO_EXT): ${srcdir}/nxml-mode.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
nxml-mode.pdf: ${srcdir}/nxml-mode.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
+nxml-mode.html: ${srcdir}/nxml-mode.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/nxml-mode.texi
org : $(buildinfodir)/org$(INFO_EXT)
$(buildinfodir)/org$(INFO_EXT): ${srcdir}/org.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
org.pdf: ${srcdir}/org.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
+org.html: ${srcdir}/org.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/org.texi
pcl-cvs : $(buildinfodir)/pcl-cvs$(INFO_EXT)
$(buildinfodir)/pcl-cvs$(INFO_EXT): ${srcdir}/pcl-cvs.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
+pcl-cvs.html: ${srcdir}/pcl-cvs.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/pcl-cvs.texi
pgg : $(buildinfodir)/pgg$(INFO_EXT)
$(buildinfodir)/pgg$(INFO_EXT): ${srcdir}/pgg.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
pgg.pdf: ${srcdir}/pgg.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi
+pgg.html: ${srcdir}/pgg.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/pgg.texi
rcirc : $(buildinfodir)/rcirc$(INFO_EXT)
$(buildinfodir)/rcirc$(INFO_EXT): ${srcdir}/rcirc.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
rcirc.pdf: ${srcdir}/rcirc.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/rcirc.texi
+rcirc.html: ${srcdir}/rcirc.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/rcirc.texi
reftex : $(buildinfodir)/reftex$(INFO_EXT)
$(buildinfodir)/reftex$(INFO_EXT): ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
reftex.pdf: ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
+reftex.html: ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/reftex.texi
remember : $(buildinfodir)/remember$(INFO_EXT)
$(buildinfodir)/remember$(INFO_EXT): ${srcdir}/remember.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
remember.pdf: ${srcdir}/remember.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
+remember.html: ${srcdir}/remember.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/remember.texi
sasl : $(buildinfodir)/sasl$(INFO_EXT)
$(buildinfodir)/sasl$(INFO_EXT): ${srcdir}/sasl.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
sasl.pdf: ${srcdir}/sasl.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
+sasl.html: ${srcdir}/sasl.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/sasl.texi
sc : $(buildinfodir)/sc$(INFO_EXT)
$(buildinfodir)/sc$(INFO_EXT): ${srcdir}/sc.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
sc.pdf: ${srcdir}/sc.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
+sc.html: ${srcdir}/sc.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/sc.texi
semantic : $(buildinfodir)/semantic$(INFO_EXT)
$(buildinfodir)/semantic$(INFO_EXT): ${srcdir}/semantic.texi ${srcdir}/sem-user.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
semantic.pdf: ${srcdir}/semantic.texi ${srcdir}/sem-user.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
+semantic.html: ${srcdir}/semantic.texi ${srcdir}/sem-user.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/semantic.texi
ses : $(buildinfodir)/ses$(INFO_EXT)
$(buildinfodir)/ses$(INFO_EXT): ${srcdir}/ses.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
ses.pdf: ${srcdir}/ses.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi
+ses.html: ${srcdir}/ses.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/ses.texi
sieve : $(buildinfodir)/sieve$(INFO_EXT)
$(buildinfodir)/sieve$(INFO_EXT): ${srcdir}/sieve.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
sieve.pdf: ${srcdir}/sieve.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/sieve.texi
+sieve.html: ${srcdir}/sieve.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/sieve.texi
smtpmail : $(buildinfodir)/smtpmail$(INFO_EXT)
$(buildinfodir)/smtpmail$(INFO_EXT): ${srcdir}/smtpmail.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
smtpmail.pdf: ${srcdir}/smtpmail.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/smtpmail.texi
+smtpmail.html: ${srcdir}/smtpmail.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/smtpmail.texi
speedbar : $(buildinfodir)/speedbar$(INFO_EXT)
$(buildinfodir)/speedbar$(INFO_EXT): ${srcdir}/speedbar.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
speedbar.pdf: ${srcdir}/speedbar.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi
+speedbar.html: ${srcdir}/speedbar.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/speedbar.texi
srecode : $(buildinfodir)/srecode$(INFO_EXT)
$(buildinfodir)/srecode$(INFO_EXT): ${srcdir}/srecode.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/srecode.texi
srecode.pdf: ${srcdir}/srecode.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/srecode.texi
+srecode.html: ${srcdir}/srecode.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/srecode.texi
todo-mode : $(buildinfodir)/todo-mode$(INFO_EXT)
$(buildinfodir)/todo-mode$(INFO_EXT): ${srcdir}/todo-mode.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/todo-mode.texi
todo-mode.pdf: ${srcdir}/todo-mode.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/todo-mode.texi
+todo-mode.html: ${srcdir}/todo-mode.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/todo-mode.texi
tramp : $(buildinfodir)/tramp$(INFO_EXT)
$(buildinfodir)/tramp$(INFO_EXT): ${srcdir}/tramp.texi ${srcdir}/trampver.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
tramp.pdf: ${srcdir}/tramp.texi ${srcdir}/trampver.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
+tramp.html: ${srcdir}/tramp.texi ${srcdir}/trampver.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ -D emacs ${srcdir}/tramp.texi
url : $(buildinfodir)/url$(INFO_EXT)
$(buildinfodir)/url$(INFO_EXT): ${srcdir}/url.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
url.pdf: ${srcdir}/url.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/url.texi
+url.html: ${srcdir}/url.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/url.texi
vip : $(buildinfodir)/vip$(INFO_EXT)
$(buildinfodir)/vip$(INFO_EXT): ${srcdir}/vip.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
vip.pdf: ${srcdir}/vip.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/vip.texi
+vip.html: ${srcdir}/vip.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/vip.texi
viper : $(buildinfodir)/viper$(INFO_EXT)
$(buildinfodir)/viper$(INFO_EXT): ${srcdir}/viper.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
viper.pdf: ${srcdir}/viper.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/viper.texi
+viper.html: ${srcdir}/viper.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/viper.texi
widget : $(buildinfodir)/widget$(INFO_EXT)
$(buildinfodir)/widget$(INFO_EXT): ${srcdir}/widget.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi
widget.pdf: ${srcdir}/widget.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/widget.texi
+widget.html: ${srcdir}/widget.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/widget.texi
wisent : $(buildinfodir)/wisent$(INFO_EXT)
$(buildinfodir)/wisent$(INFO_EXT): ${srcdir}/wisent.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/wisent.texi
wisent.pdf: ${srcdir}/wisent.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/wisent.texi
+wisent.html: ${srcdir}/wisent.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/wisent.texi
woman : $(buildinfodir)/woman$(INFO_EXT)
$(buildinfodir)/woman$(INFO_EXT): ${srcdir}/woman.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi
woman.pdf: ${srcdir}/woman.texi $(emacsdir)/emacsver.texi ${gfdl}
$(ENVADD) $(TEXI2PDF) ${srcdir}/woman.texi
-
+woman.html: ${srcdir}/woman.texi ${gfdl}
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ ${srcdir}/woman.texi
.PHONY: mostlyclean clean distclean maintainer-clean
rm -f gnustmp.*
clean: mostlyclean
- rm -f $(DVI_TARGETS) $(PDF_TARGETS)
+ rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS)
rm -f emacs-misc-${version}.tar*
distclean: clean
tar -cf emacs-misc-${version}.tar emacs-misc-${version}
rm -rf emacs-misc-${version}
+
+.PHONY: install-dvi install-html install-pdf install-ps install-doc
+
+install-dvi: dvi
+ umask 022; $(MKDIR_P) $(DESTDIR)$(dvidir)
+ $(INSTALL_DATA) $(DVI_TARGETS) $(DESTDIR)$(dvidir)
+install-html: html
+ umask 022; $(MKDIR_P) $(DESTDIR)$(htmldir)
+ $(INSTALL_DATA) $(HTML_TARGETS) $(DESTDIR)$(htmldir)
+install-pdf: pdf
+ umask 022;$(MKDIR_P) $(DESTDIR)$(pdfdir)
+ $(INSTALL_DATA) $(PDF_TARGETS) $(DESTDIR)$(pdfdir)
+install-ps: ps
+ umask 022; $(MKDIR_P) $(DESTDIR)$(psdir)
+ for file in $(PS_TARGETS); do \
+ $(INSTALL_DATA) $${file} $(DESTDIR)$(psdir); \
+ [ -n "${GZIP_PROG}" ] || continue; \
+ rm -f $(DESTDIR)$(psdir)/$${file}.gz; \
+ ${GZIP_PROG} -9n $(DESTDIR)$(psdir)/$${file}; \
+ done
+
+## Top-level Makefile installs the info pages.
+install-doc: install-dvi install-html install-pdf install-ps
+
+
+
+.PHONY: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps uninstall-doc
+
+uninstall-dvi:
+ for file in $(DVI_TARGETS); do \
+ rm -f $(DESTDIR)$(dvidir)/$${file}; \
+ done
+uninstall-html:
+ for file in $(HTML_TARGETS); do \
+ rm -f $(DESTDIR)$(htmldir)/$${file}; \
+ done
+uninstall-ps:
+ ext= ; [ -n "${GZIP_PROG}" ] && ext=.gz; \
+ for file in $(PS_TARGETS); do \
+ rm -f $(DESTDIR)$(psdir)/$${file}$${ext}; \
+ done
+uninstall-pdf:
+ for file in $(PDF_TARGETS); do \
+ rm -f $(DESTDIR)$(pdfdir)/$${file}; \
+ done
+
+uninstall-doc: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps
+
+
### Makefile ends here