Mercurial > emacs
comparison doc/lispintro/makefile.w32-in @ 105776:88934faa0925
(texinfodir, TEXI2PDF): New variables.
(ENVADD): Add -I$texinfodir.
(emacs-lisp-intro.pdf): New target.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 27 Oct 2009 02:45:57 +0000 |
parents | cb5d2387102c |
children | 38ff092d4d00 |
comparison
equal
deleted
inserted
replaced
105775:8c46dd95e6c7 | 105776:88934faa0925 |
---|---|
20 | 20 |
21 | 21 |
22 srcdir = . | 22 srcdir = . |
23 | 23 |
24 infodir = $(srcdir)/../../info | 24 infodir = $(srcdir)/../../info |
25 # Directory with the (customized) texinfo.tex file. | |
26 texinfodir = $(srcdir)/../misc | |
25 | 27 |
26 INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi | 28 INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi |
27 # The file name eintr must fit within 5 characters, to allow for | 29 # The file name eintr must fit within 5 characters, to allow for |
28 # -NN extensions to fit into DOS 8+3 limits without clashing | 30 # -NN extensions to fit into DOS 8+3 limits without clashing |
29 INFO_TARGETS = $(infodir)/eintr | 31 INFO_TARGETS = $(infodir)/eintr |
30 DVI_TARGETS = emacs-lisp-intro.dvi | 32 DVI_TARGETS = emacs-lisp-intro.dvi |
31 | 33 |
32 MAKEINFO = makeinfo | 34 MAKEINFO = makeinfo |
33 INSTALL_INFO = install-info | 35 INSTALL_INFO = install-info |
34 TEXI2DVI = texi2dvi | 36 TEXI2DVI = texi2dvi |
37 TEXI2PDF = texi2pdf | |
35 DVIPS = dvips | 38 DVIPS = dvips |
36 ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ | 39 ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ |
37 "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C | 40 "MAKEINFO=$(MAKEINFO) -I$(srcdir) -I$(texinfodir)" /C |
38 | 41 |
39 .SUFFIXES: .dvi .ps .texi | 42 .SUFFIXES: .dvi .ps .texi |
40 | 43 |
41 info: $(INFO_TARGETS) | 44 info: $(INFO_TARGETS) |
42 | 45 |
48 $(infodir)/eintr: $(INFO_SOURCES) | 51 $(infodir)/eintr: $(INFO_SOURCES) |
49 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi | 52 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi |
50 | 53 |
51 emacs-lisp-intro.dvi: $(INFO_SOURCES) | 54 emacs-lisp-intro.dvi: $(INFO_SOURCES) |
52 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi | 55 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi |
56 | |
57 emacs-lisp-intro.pdf: ${INFO_SOURCES} | |
58 $(ENVADD) $(TEXI2PDF) $(srcdir)/emacs-lisp-intro.texi | |
53 | 59 |
54 emacs-lisp-intro.html: $(INFO_SOURCES) | 60 emacs-lisp-intro.html: $(INFO_SOURCES) |
55 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi | 61 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi |
56 | 62 |
57 .dvi.ps: | 63 .dvi.ps: |