summaryrefslogtreecommitdiff
path: root/doc/lispref/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-05-03 23:45:03 -0700
committerGlenn Morris <rgm@gnu.org>2012-05-03 23:45:03 -0700
commit8045b9065f59ba0da910cd9bb8dd40f344b5d55f (patch)
tree6344b9a5cd6ffd9105ec60e376836aaff65601c8 /doc/lispref/Makefile.in
parent3c74813afd3a9e596af5ab920e0a75600b132505 (diff)
downloademacs-8045b9065f59ba0da910cd9bb8dd40f344b5d55f.tar.gz
Give info files the .info extension
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00354.html * configure.in (INFO_EXT, INFO_OPTS): New output variables. * doc/emacs/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure. (info, infoclean): Use $INFO_EXT. ($(infodir)/emacs$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT. * doc/emacs/makefile.w32-in (INFO_EXT, INFO_OPTS): New. (INFO_TARGETS): Use $INFO_EXT. ($(infodir)/emacs$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT, and -o. * doc/lispintro/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure. (info, infoclean): Use $INFO_EXT. (${infodir}/eintr$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT. * doc/lispintro/makefile.w32-in (INFO_EXT, INFO_OPTS): New. (INFO_TARGETS, clean): Use $INFO_EXT. ($(infodir)/eintr$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT. * doc/lispref/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure. (info, infoclean): Use $INFO_EXT. ($(infodir)/elisp$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT. * doc/lispref/makefile.w32-in (INFO_EXT, INFO_OPTS): New. (info, maintainer-clean): Use $INFO_EXT. ($(infodir)/elisp$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT. * doc/misc/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure. (INFO_TARGETS): Use $INFO_EXT. Make all rules generating info files use $INFO_EXT, $INFO_OPT, and -o. * doc/misc/makefile.w32-in (INFO_EXT, INFO_OPTS): New. (INFO_TARGETS): Use $INFO_EXT. Make all rules generating info files use $INFO_EXT, $INFO_OPT, and -o.
Diffstat (limited to 'doc/lispref/Makefile.in')
-rw-r--r--doc/lispref/Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in
index a95ba45cfe3..19624693aa7 100644
--- a/doc/lispref/Makefile.in
+++ b/doc/lispref/Makefile.in
@@ -30,6 +30,10 @@ texinfodir = $(srcdir)/../misc
# Directory with emacsver.texi.
emacsdir = $(srcdir)/../emacs
+INFO_EXT=@INFO_EXT@
+# Options used only when making info output.
+INFO_OPTS=@INFO_OPTS@
+
MAKEINFO = @MAKEINFO@
MAKEINFO_OPTS = --force --enable-encoding -I $(emacsdir) -I $(srcdir)
TEXI2DVI = texi2dvi
@@ -99,16 +103,16 @@ mkinfodir = @test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}
.PHONY: info dvi pdf ps
-info: $(infodir)/elisp
+info: $(infodir)/elisp$(INFO_EXT)
dvi: elisp.dvi
html: elisp.html
pdf: elisp.pdf
ps: elisp.ps
## Note: "<" is not portable in ordinary make rules.
-$(infodir)/elisp: $(srcs)
+$(infodir)/elisp$(INFO_EXT): $(srcs)
$(mkinfodir)
- $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $(srcdir)/elisp.texi
+ $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $(srcdir)/elisp.texi
elisp.dvi: $(srcs)
$(ENVADD) $(TEXI2DVI) $(srcdir)/elisp.texi
@@ -138,7 +142,7 @@ clean: mostlyclean
distclean: clean
infoclean:
- -cd $(infodir) && rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
+ -cd $(infodir) && rm -f elisp$(INFO_EXT) elisp$(INFO_EXT)-[1-9] elisp$(INFO_EXT)-[1-9][0-9]
maintainer-clean: distclean infoclean