summaryrefslogtreecommitdiff
path: root/doc/lispintro/makefile.w32-in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-10-27 02:45:57 +0000
committerGlenn Morris <rgm@gnu.org>2009-10-27 02:45:57 +0000
commitce109c95cc8a104217282fa7add23174459ba9ca (patch)
treed666bc14e47f66a39dfe0bcbaa9e19b3ae31d13d /doc/lispintro/makefile.w32-in
parentb60bfecceaeec6d311bc38a8cdd25d3080dd1421 (diff)
downloademacs-ce109c95cc8a104217282fa7add23174459ba9ca.tar.gz
(texinfodir, TEXI2PDF): New variables.
(ENVADD): Add -I$texinfodir. (emacs-lisp-intro.pdf): New target.
Diffstat (limited to 'doc/lispintro/makefile.w32-in')
-rw-r--r--doc/lispintro/makefile.w32-in8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/lispintro/makefile.w32-in b/doc/lispintro/makefile.w32-in
index 951f133501d..132af96a265 100644
--- a/doc/lispintro/makefile.w32-in
+++ b/doc/lispintro/makefile.w32-in
@@ -22,6 +22,8 @@
srcdir = .
infodir = $(srcdir)/../../info
+# Directory with the (customized) texinfo.tex file.
+texinfodir = $(srcdir)/../misc
INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi
# The file name eintr must fit within 5 characters, to allow for
@@ -32,9 +34,10 @@ DVI_TARGETS = emacs-lisp-intro.dvi
MAKEINFO = makeinfo
INSTALL_INFO = install-info
TEXI2DVI = texi2dvi
+TEXI2PDF = texi2pdf
DVIPS = dvips
ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \
- "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C
+ "MAKEINFO=$(MAKEINFO) -I$(srcdir) -I$(texinfodir)" /C
.SUFFIXES: .dvi .ps .texi
@@ -51,6 +54,9 @@ $(infodir)/eintr: $(INFO_SOURCES)
emacs-lisp-intro.dvi: $(INFO_SOURCES)
$(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
+emacs-lisp-intro.pdf: ${INFO_SOURCES}
+ $(ENVADD) $(TEXI2PDF) $(srcdir)/emacs-lisp-intro.texi
+
emacs-lisp-intro.html: $(INFO_SOURCES)
$(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi