diff options
| author | Werner LEMBERG | 2011-01-23 11:22:21 +0100 |
|---|---|---|
| committer | Werner LEMBERG | 2011-01-23 11:22:21 +0100 |
| commit | a8e1e9ee62214f0c97da1ebf8ede733b7acdc5d3 (patch) | |
| tree | cfecbdef8787aa4f23b09f16c12a42a25162d6ea | |
| parent | 200034fcff6b5bd3274bf2e986133e0a7ae97a8d (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/Makefile.in | 14 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-01-15 Chong Yidong <cyd@stupidchicken.com> | 7 | 2011-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. |
| 33 | emacsdir = $(srcdir)/../emacs | 33 | emacsdir = $(srcdir)/../emacs |
| 34 | 34 | ||
| 35 | MAKEINFO = makeinfo --force -I $(emacsdir) -I $(srcdir) | 35 | MAKEINFO = @MAKEINFO@ |
| 36 | MAKEINFO_OPTS = --force -I $(emacsdir) -I $(srcdir) | ||
| 36 | TEXI2DVI = texi2dvi | 37 | TEXI2DVI = texi2dvi |
| 37 | TEXI2PDF = texi2pdf | 38 | TEXI2PDF = texi2pdf |
| 38 | DVIPS = dvips | 39 | DVIPS = dvips |
| 39 | 40 | ||
| 41 | ENVADD = 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 | ||
| 42 | srcs = \ | 46 | srcs = \ |
| @@ -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 | ||
| 111 | elisp.dvi: $(srcs) | 115 | elisp.dvi: $(srcs) |
| 112 | $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) -I $(emacsdir) $< | 116 | $(ENVADD) $(TEXI2DVI) $< |
| 113 | 117 | ||
| 114 | elisp.html: $(srcs) | 118 | elisp.html: $(srcs) |
| 115 | $(MAKEINFO) --html -o $@ $< | 119 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $< |
| 116 | 120 | ||
| 117 | elisp.ps: elisp.dvi | 121 | elisp.ps: elisp.dvi |
| 118 | $(DVIPS) -o $@ $< | 122 | $(DVIPS) -o $@ $< |
| 119 | 123 | ||
| 120 | elisp.pdf: $(srcs) | 124 | elisp.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 | ||