diff options
| author | Werner LEMBERG | 2011-01-23 11:31:21 +0100 |
|---|---|---|
| committer | Werner LEMBERG | 2011-01-23 11:31:21 +0100 |
| commit | 53ed5e45d394747a9de976a936cd8b017f75e1a4 (patch) | |
| tree | 158cbb8d0d195a725ae0fbe965f3c86a32649817 | |
| parent | a8e1e9ee62214f0c97da1ebf8ede733b7acdc5d3 (diff) | |
| download | emacs-53ed5e45d394747a9de976a936cd8b017f75e1a4.tar.gz emacs-53ed5e45d394747a9de976a936cd8b017f75e1a4.zip | |
Improve configuration of makeinfo.
* 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/lispintro/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispintro/Makefile.in | 14 |
2 files changed, 15 insertions, 5 deletions
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index 4320a29f60f..416b53576b6 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/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 | 2010-11-13 Glenn Morris <rgm@gnu.org> | 7 | 2010-11-13 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * emacs-lisp-intro.texi: Rename the `count-words-region' example, | 9 | * emacs-lisp-intro.texi: Rename the `count-words-region' example, |
diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in index 9dc31978630..46325a327a5 100644 --- a/doc/lispintro/Makefile.in +++ b/doc/lispintro/Makefile.in | |||
| @@ -28,11 +28,15 @@ infodir = $(srcdir)/../../info | |||
| 28 | # Directory with the (customized) texinfo.tex file. | 28 | # Directory with the (customized) texinfo.tex file. |
| 29 | texinfodir = $(srcdir)/../misc | 29 | texinfodir = $(srcdir)/../misc |
| 30 | 30 | ||
| 31 | MAKEINFO = makeinfo --force -I $(srcdir) | 31 | MAKEINFO = @MAKEINFO@ |
| 32 | MAKEINFO_OPTS = --force -I $(srcdir) | ||
| 32 | TEXI2DVI = texi2dvi | 33 | TEXI2DVI = texi2dvi |
| 33 | TEXI2PDF = texi2pdf | 34 | TEXI2PDF = texi2pdf |
| 34 | DVIPS = dvips | 35 | DVIPS = dvips |
| 35 | 36 | ||
| 37 | ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(TEXINPUTS)" \ | ||
| 38 | MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)" | ||
| 39 | |||
| 36 | mkinfodir = @test -d ${infodir} || mkdir ${infodir} || test -d ${infodir} | 40 | mkinfodir = @test -d ${infodir} || mkdir ${infodir} || test -d ${infodir} |
| 37 | 41 | ||
| 38 | .PHONY: info dvi html pdf ps | 42 | .PHONY: info dvi html pdf ps |
| @@ -48,19 +52,19 @@ ps: emacs-lisp-intro.ps | |||
| 48 | # -NN extensions to fit into DOS 8+3 limits without clashing. | 52 | # -NN extensions to fit into DOS 8+3 limits without clashing. |
| 49 | ${infodir}/eintr: ${srcdir}/emacs-lisp-intro.texi | 53 | ${infodir}/eintr: ${srcdir}/emacs-lisp-intro.texi |
| 50 | $(mkinfodir) | 54 | $(mkinfodir) |
| 51 | $(MAKEINFO) -o $@ $< | 55 | $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $< |
| 52 | 56 | ||
| 53 | emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi | 57 | emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi |
| 54 | $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $< | 58 | $(ENVADD) $(TEXI2DVI) $< |
| 55 | 59 | ||
| 56 | emacs-lisp-intro.ps: emacs-lisp-intro.dvi | 60 | emacs-lisp-intro.ps: emacs-lisp-intro.dvi |
| 57 | $(DVIPS) -o $@ $< | 61 | $(DVIPS) -o $@ $< |
| 58 | 62 | ||
| 59 | emacs-lisp-intro.pdf: ${srcdir}/emacs-lisp-intro.texi | 63 | emacs-lisp-intro.pdf: ${srcdir}/emacs-lisp-intro.texi |
| 60 | $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $< | 64 | $(ENVADD) $(TEXI2PDF) $< |
| 61 | 65 | ||
| 62 | emacs-lisp-intro.html: ${srcdir}/emacs-lisp-intro.texi | 66 | emacs-lisp-intro.html: ${srcdir}/emacs-lisp-intro.texi |
| 63 | $(MAKEINFO) --html -o $@ $< | 67 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $< |
| 64 | 68 | ||
| 65 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean | 69 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean |
| 66 | 70 | ||