emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102954: Improve configuration of mak


From: Werner Lemberg
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102954: Improve configuration of makeinfo.
Date: Sun, 23 Jan 2011 11:31:21 +0100
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102954
committer: Werner Lemberg <address@hidden>
branch nick: trunk
timestamp: Sun 2011-01-23 11:31:21 +0100
message:
  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.
modified:
  doc/lispintro/ChangeLog
  doc/lispintro/Makefile.in
=== modified file 'doc/lispintro/ChangeLog'
--- a/doc/lispintro/ChangeLog   2011-01-16 02:21:30 +0000
+++ b/doc/lispintro/ChangeLog   2011-01-23 10:31:21 +0000
@@ -1,3 +1,9 @@
+2011-01-23  Werner Lemberg  <address@hidden>
+
+       * Makefile.in (MAKEINFO): Now controlled by `configure'.
+       (MAKEINFO_OPTS): New variable.  Use it where appropriate.
+       (ENVADD): New variable to control texi2dvi and texi2pdf.
+
 2010-11-13  Glenn Morris  <address@hidden>
 
        * emacs-lisp-intro.texi: Rename the `count-words-region' example,

=== modified file 'doc/lispintro/Makefile.in'
--- a/doc/lispintro/Makefile.in 2011-01-16 02:21:30 +0000
+++ b/doc/lispintro/Makefile.in 2011-01-23 10:31:21 +0000
@@ -28,11 +28,15 @@
 # Directory with the (customized) texinfo.tex file.
 texinfodir = $(srcdir)/../misc
 
-MAKEINFO = makeinfo --force -I $(srcdir)
+MAKEINFO = @MAKEINFO@
+MAKEINFO_OPTS = --force -I $(srcdir)
 TEXI2DVI = texi2dvi
 TEXI2PDF = texi2pdf
 DVIPS = dvips
 
+ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(TEXINPUTS)" \
+         MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
+
 mkinfodir = @test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}
 
 .PHONY: info dvi html pdf ps
@@ -48,19 +52,19 @@
 # -NN extensions to fit into DOS 8+3 limits without clashing.
 ${infodir}/eintr: ${srcdir}/emacs-lisp-intro.texi
        $(mkinfodir)
-       $(MAKEINFO) -o $@ $<
+       $(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $<
 
 emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi
-       $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $<
+       $(ENVADD) $(TEXI2DVI) $<
 
 emacs-lisp-intro.ps: emacs-lisp-intro.dvi
        $(DVIPS) -o $@ $<
 
 emacs-lisp-intro.pdf: ${srcdir}/emacs-lisp-intro.texi
-       $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $<
+       $(ENVADD) $(TEXI2PDF) $<
 
 emacs-lisp-intro.html: ${srcdir}/emacs-lisp-intro.texi
-       $(MAKEINFO) --html -o $@ $<
+       $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $<
 
 .PHONY: mostlyclean clean distclean maintainer-clean infoclean
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]