aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner LEMBERG2011-01-23 11:22:21 +0100
committerWerner LEMBERG2011-01-23 11:22:21 +0100
commita8e1e9ee62214f0c97da1ebf8ede733b7acdc5d3 (patch)
treecfecbdef8787aa4f23b09f16c12a42a25162d6ea
parent200034fcff6b5bd3274bf2e986133e0a7ae97a8d (diff)
downloademacs-a8e1e9ee62214f0c97da1ebf8ede733b7acdc5d3.tar.gz
emacs-a8e1e9ee62214f0c97da1ebf8ede733b7acdc5d3.zip
* Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable. Use it where appropriate. (ENVADD): New variable to control texi2dvi and texi2pdf.
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/Makefile.in14
2 files changed, 15 insertions, 5 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 40481acec12..e196b3015bd 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,9 @@
12011-01-23 Werner Lemberg <wl@gnu.org>
2
3 * Makefile.in (MAKEINFO): Now controlled by `configure'.
4 (MAKEINFO_OPTS): New variable. Use it where appropriate.
5 (ENVADD): New variable to control texi2dvi and texi2pdf.
6
12011-01-15 Chong Yidong <cyd@stupidchicken.com> 72011-01-15 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * files.texi (Directory Names): Move directory-abbrev-alist doc to 9 * files.texi (Directory Names): Move directory-abbrev-alist doc to
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in
index 06adf360f7b..ffe6ac36ef5 100644
--- a/doc/lispref/Makefile.in
+++ b/doc/lispref/Makefile.in
@@ -32,11 +32,15 @@ texinfodir = $(srcdir)/../misc
32# Directory with emacsver.texi. 32# Directory with emacsver.texi.
33emacsdir = $(srcdir)/../emacs 33emacsdir = $(srcdir)/../emacs
34 34
35MAKEINFO = makeinfo --force -I $(emacsdir) -I $(srcdir) 35MAKEINFO = @MAKEINFO@
36MAKEINFO_OPTS = --force -I $(emacsdir) -I $(srcdir)
36TEXI2DVI = texi2dvi 37TEXI2DVI = texi2dvi
37TEXI2PDF = texi2pdf 38TEXI2PDF = texi2pdf
38DVIPS = dvips 39DVIPS = dvips
39 40
41ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(TEXINPUTS)" \
42 MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
43
40# List of all the texinfo files in the manual: 44# List of all the texinfo files in the manual:
41 45
42srcs = \ 46srcs = \
@@ -106,19 +110,19 @@ ps: elisp.ps
106 110
107$(infodir)/elisp: $(srcs) 111$(infodir)/elisp: $(srcs)
108 $(mkinfodir) 112 $(mkinfodir)
109 $(MAKEINFO) -o $@ $< 113 $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $<
110 114
111elisp.dvi: $(srcs) 115elisp.dvi: $(srcs)
112 $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) -I $(emacsdir) $< 116 $(ENVADD) $(TEXI2DVI) $<
113 117
114elisp.html: $(srcs) 118elisp.html: $(srcs)
115 $(MAKEINFO) --html -o $@ $< 119 $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $<
116 120
117elisp.ps: elisp.dvi 121elisp.ps: elisp.dvi
118 $(DVIPS) -o $@ $< 122 $(DVIPS) -o $@ $<
119 123
120elisp.pdf: $(srcs) 124elisp.pdf: $(srcs)
121 $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) -I $(emacsdir) $< 125 $(ENVADD) $(TEXI2PDF) $<
122 126
123.PHONY: mostlyclean clean distclean maintainer-clean infoclean 127.PHONY: mostlyclean clean distclean maintainer-clean infoclean
124 128