diff options
| author | Eli Zaretskii | 2010-10-09 23:38:04 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2010-10-09 23:38:04 +0200 |
| commit | 6513b232c86c7edf5bc1c281a8b91560093fdf4a (patch) | |
| tree | fe56aeb76ea4b2734ba2070ee0ed89640be2e1c4 /doc/misc | |
| parent | c1dc72b39599aa57137911b0fce7c700b6481e07 (diff) | |
| download | emacs-6513b232c86c7edf5bc1c281a8b91560093fdf4a.tar.gz emacs-6513b232c86c7edf5bc1c281a8b91560093fdf4a.zip | |
Fix building manuals on MS-Windows using emacsver.texi.
misc/makefile.w32-in (emacsdir): New variable.
($(infodir)/efaq, faq.dvi): Depend on emacsver.texi.
(ENVADD, $(infodir)/efaq): Add -I$(emacsdir).
emacs/makefile.w32-in (EMACSSOURCES): Add emacsver.texi.
lispref/makefile.w32-in (emacsdir): New variable.
(srcs): Add emacsver.texi.
($(infodir)/elisp, elisp.dvi): Add -I$(emacsdir).
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/makefile.w32-in | 12 |
2 files changed, 14 insertions, 4 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 167462ef686..b3c52d5c36a 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-10-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (emacsdir): New variable. | ||
| 4 | ($(infodir)/efaq, faq.dvi): Depend on emacsver.texi. | ||
| 5 | (ENVADD, $(infodir)/efaq): Add -I$(emacsdir). | ||
| 6 | |||
| 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> | 7 | 2010-10-09 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * Makefile.in (mostlyclean): Delete *.toc. | 9 | * Makefile.in (mostlyclean): Delete *.toc. |
diff --git a/doc/misc/makefile.w32-in b/doc/misc/makefile.w32-in index 1c5fec41095..f4887738411 100644 --- a/doc/misc/makefile.w32-in +++ b/doc/misc/makefile.w32-in | |||
| @@ -27,6 +27,10 @@ srcdir=. | |||
| 27 | 27 | ||
| 28 | infodir = $(srcdir)/../../info | 28 | infodir = $(srcdir)/../../info |
| 29 | 29 | ||
| 30 | ## Directory with emacsver.texi. | ||
| 31 | ## Currently only used by efaq; could be added to MAKEINFO. | ||
| 32 | emacsdir = $(srcdir)/../emacs | ||
| 33 | |||
| 30 | # The makeinfo program is part of the Texinfo distribution. | 34 | # The makeinfo program is part of the Texinfo distribution. |
| 31 | MAKEINFO = makeinfo --force | 35 | MAKEINFO = makeinfo --force |
| 32 | MULTI_INSTALL_INFO = $(srcdir)\..\..\nt\multi-install-info.bat | 36 | MULTI_INSTALL_INFO = $(srcdir)\..\..\nt\multi-install-info.bat |
| @@ -66,7 +70,7 @@ INFOSOURCES = info.texi | |||
| 66 | 70 | ||
| 67 | TEXI2DVI = texi2dvi | 71 | TEXI2DVI = texi2dvi |
| 68 | ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ | 72 | ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \ |
| 69 | "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C | 73 | "MAKEINFO=$(MAKEINFO) -I$(srcdir) -I$(emacsdir)" /C |
| 70 | 74 | ||
| 71 | 75 | ||
| 72 | info: $(INFO_TARGETS) | 76 | info: $(INFO_TARGETS) |
| @@ -213,9 +217,9 @@ $(infodir)/widget: widget.texi | |||
| 213 | widget.dvi: widget.texi | 217 | widget.dvi: widget.texi |
| 214 | $(ENVADD) $(TEXI2DVI) $(srcdir)/widget.texi | 218 | $(ENVADD) $(TEXI2DVI) $(srcdir)/widget.texi |
| 215 | 219 | ||
| 216 | $(infodir)/efaq: faq.texi | 220 | $(infodir)/efaq: faq.texi $(emacsdir)/emacsver.texi |
| 217 | $(MAKEINFO) faq.texi | 221 | $(MAKEINFO) -I$(emacsdir) faq.texi |
| 218 | faq.dvi: faq.texi | 222 | faq.dvi: faq.texi $(emacsdir)/emacsver.texi |
| 219 | $(ENVADD) $(TEXI2DVI) $(srcdir)/faq.texi | 223 | $(ENVADD) $(TEXI2DVI) $(srcdir)/faq.texi |
| 220 | 224 | ||
| 221 | $(infodir)/autotype: autotype.texi | 225 | $(infodir)/autotype: autotype.texi |