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 | |
| 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).
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/makefile.w32-in | 1 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/makefile.w32-in | 10 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/makefile.w32-in | 12 |
6 files changed, 33 insertions, 6 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 079ff94eb59..5d6f2a48aa5 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-10-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (EMACSSOURCES): Add emacsver.texi. | ||
| 4 | |||
| 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> | 5 | 2010-10-09 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in (VPATH): Remove. | 7 | * Makefile.in (VPATH): Remove. |
diff --git a/doc/emacs/makefile.w32-in b/doc/emacs/makefile.w32-in index 7e2aa36a5f0..213077cbc8f 100644 --- a/doc/emacs/makefile.w32-in +++ b/doc/emacs/makefile.w32-in | |||
| @@ -56,6 +56,7 @@ EMACS_XTRA=\ | |||
| 56 | 56 | ||
| 57 | EMACSSOURCES= \ | 57 | EMACSSOURCES= \ |
| 58 | $(srcdir)/emacs.texi \ | 58 | $(srcdir)/emacs.texi \ |
| 59 | $(srcdir)/emacsver.texi \ | ||
| 59 | $(srcdir)/doclicense.texi \ | 60 | $(srcdir)/doclicense.texi \ |
| 60 | $(srcdir)/screen.texi \ | 61 | $(srcdir)/screen.texi \ |
| 61 | $(srcdir)/commands.texi \ | 62 | $(srcdir)/commands.texi \ |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 512e71313d2..ed15a7e1640 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-10-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (emacsdir): New variable. | ||
| 4 | (srcs): Add emacsver.texi. | ||
| 5 | ($(infodir)/elisp, elisp.dvi): 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 (VPATH): Remove. | 9 | * Makefile.in (VPATH): Remove. |
diff --git a/doc/lispref/makefile.w32-in b/doc/lispref/makefile.w32-in index 008870b3c5c..86a0de33095 100644 --- a/doc/lispref/makefile.w32-in +++ b/doc/lispref/makefile.w32-in | |||
| @@ -25,6 +25,9 @@ srcdir = . | |||
| 25 | infodir = $(srcdir)/../../info | 25 | infodir = $(srcdir)/../../info |
| 26 | usermanualdir = $(srcdir)/../emacs | 26 | usermanualdir = $(srcdir)/../emacs |
| 27 | 27 | ||
| 28 | # Directory with emacsver.texi. | ||
| 29 | emacsdir = $(srcdir)/../emacs | ||
| 30 | |||
| 28 | # Redefine `TEX' if `tex' does not invoke plain TeX. For example: | 31 | # Redefine `TEX' if `tex' does not invoke plain TeX. For example: |
| 29 | # TEX=platex | 32 | # TEX=platex |
| 30 | TEX=tex | 33 | TEX=tex |
| @@ -43,6 +46,7 @@ manual = elisp-manual-23-$(VERSION) | |||
| 43 | # List of all the texinfo files in the manual: | 46 | # List of all the texinfo files in the manual: |
| 44 | 47 | ||
| 45 | srcs = \ | 48 | srcs = \ |
| 49 | $(emacsdir)/emacsver.texi \ | ||
| 46 | $(srcdir)/abbrevs.texi \ | 50 | $(srcdir)/abbrevs.texi \ |
| 47 | $(srcdir)/advice.texi \ | 51 | $(srcdir)/advice.texi \ |
| 48 | $(srcdir)/anti.texi \ | 52 | $(srcdir)/anti.texi \ |
| @@ -107,10 +111,12 @@ $(infodir)/dir: | |||
| 107 | $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp | 111 | $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp |
| 108 | 112 | ||
| 109 | $(infodir)/elisp: $(srcs) | 113 | $(infodir)/elisp: $(srcs) |
| 110 | $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi | 114 | $(MAKEINFO) -I. -I$(srcdir) -I$(emacsdir) \ |
| 115 | -o $(infodir)/elisp $(srcdir)/elisp.texi | ||
| 111 | 116 | ||
| 112 | elisp.dvi: $(srcs) | 117 | elisp.dvi: $(srcs) |
| 113 | $(texinputdir) $(TEX) -I $(usermanualdir) $(srcdir)/elisp.texi | 118 | $(texinputdir) $(TEX) -I $(usermanualdir) -I$(emacsdir) \ |
| 119 | $(srcdir)/elisp.texi | ||
| 114 | 120 | ||
| 115 | clean: | 121 | clean: |
| 116 | - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | 122 | - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ |
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 |