diff options
| author | Glenn Morris | 2010-10-08 18:41:21 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-10-08 18:41:21 -0700 |
| commit | f7a31f1108819af24320aa33c9d2d5728ce0b83c (patch) | |
| tree | 07454d84870d48c80e401eb6408c9ba9e2bcdd0c | |
| parent | 3fb78d1f3341032d7bca0d4f6c708fb90d80a7ed (diff) | |
| download | emacs-f7a31f1108819af24320aa33c9d2d5728ce0b83c.tar.gz emacs-f7a31f1108819af24320aa33c9d2d5728ce0b83c.zip | |
Set the version number in the texinfo manuals using configure.
* doc/misc/Makefile.in (emacsdir): New variable.
($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo.
* doc/misc/faq.texi (VER): Replace with EMACSVER from emacsver.texi.
* doc/lispref/Makefile.in (emacsdir): New variable.
(MAKEINFO): Add -I $emacsdir.
(dist): Copy emacsver.texi.
* doc/lispref/book-spine.texinfo, doc/lispref/elisp.texi:
* doc/lispref/vol2.texi, doc/lispref/vol1.texi:
Set EMACSVER by including emacsver.texi.
* doc/emacs/emacsver.texi.in: New file.
* doc/emacs/emacs.texi: Set EMACSVER by including emacsver.texi.
* doc/emacs/Makefile.in (distclean): Delete emacsver.texi.
(dist): Copy emacsver.texi.
* admin/admin.el (set-version): No need to act on doc/ files any more.
* configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
* make-dist: Include doc/emacs/*.texi.in.
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | admin/ChangeLog | 2 | ||||
| -rw-r--r-- | admin/admin.el | 23 | ||||
| -rw-r--r-- | configure.in | 6 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/Makefile.in | 3 | ||||
| -rw-r--r-- | doc/emacs/emacs.texi | 7 | ||||
| -rw-r--r-- | doc/emacs/emacsver.texi.in | 1 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/Makefile.in | 6 | ||||
| -rw-r--r-- | doc/lispref/book-spine.texinfo | 8 | ||||
| -rw-r--r-- | doc/lispref/elisp.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/vol1.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/vol2.texi | 6 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/Makefile.in | 5 | ||||
| -rw-r--r-- | doc/misc/faq.texi | 11 | ||||
| -rwxr-xr-x | make-dist | 3 |
18 files changed, 50 insertions, 63 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi. | ||
| 4 | * make-dist: Include doc/emacs/*.texi.in. | ||
| 5 | |||
| 3 | * INSTALL, make-dist: Remove references to b2m. | 6 | * INSTALL, make-dist: Remove references to b2m. |
| 4 | * Makefile.in (MAN_PAGES): Remove b2m.1. | 7 | * Makefile.in (MAN_PAGES): Remove b2m.1. |
| 5 | 8 | ||
diff --git a/admin/ChangeLog b/admin/ChangeLog index d3ca3a19dd4..dc220d99741 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * admin.el (set-version): No need to act on doc/ files any more. | ||
| 4 | |||
| 3 | * quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m. | 5 | * quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m. |
| 4 | 6 | ||
| 5 | 2010-09-05 Juanma Barranquero <lekktu@gmail.com> | 7 | 2010-09-05 Juanma Barranquero <lekktu@gmail.com> |
diff --git a/admin/admin.el b/admin/admin.el index 51bbecf4c57..02b2ffac91b 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; admin.el --- utilities for Emacs administration | 1 | ;;; admin.el --- utilities for Emacs administration |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 3 | ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; This file is part of GNU Emacs. | 6 | ;; This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -70,28 +70,10 @@ Root must be the root of an Emacs source tree." | |||
| 70 | (rx (and "AC_INIT" (1+ (not (in ?,))) | 70 | (rx (and "AC_INIT" (1+ (not (in ?,))) |
| 71 | ?, (0+ space) | 71 | ?, (0+ space) |
| 72 | (submatch (1+ (in "0-9.")))))) | 72 | (submatch (1+ (in "0-9.")))))) |
| 73 | (set-version-in-file root "doc/emacs/emacs.texi" version | ||
| 74 | (rx (and "EMACSVER" (1+ space) | ||
| 75 | (submatch (1+ (in "0-9.")))))) | ||
| 76 | (set-version-in-file root "doc/lispref/elisp.texi" version | ||
| 77 | (rx (and "EMACSVER" (1+ space) | ||
| 78 | (submatch (1+ (in "0-9.")))))) | ||
| 79 | (set-version-in-file root "doc/lispref/vol1.texi" version | ||
| 80 | (rx (and "EMACSVER" (1+ space) | ||
| 81 | (submatch (1+ (in "0-9.")))))) | ||
| 82 | (set-version-in-file root "doc/lispref/vol2.texi" version | ||
| 83 | (rx (and "EMACSVER" (1+ space) | ||
| 84 | (submatch (1+ (in "0-9.")))))) | ||
| 85 | (set-version-in-file root "doc/lispref/book-spine.texinfo" version | ||
| 86 | (rx (and "Emacs Version" (1+ space) | ||
| 87 | (submatch (1+ (in "0-9.")))))) | ||
| 88 | (set-version-in-file root "doc/man/emacs.1" version | 73 | (set-version-in-file root "doc/man/emacs.1" version |
| 89 | (rx (and ".TH EMACS" (1+ not-newline) | 74 | (rx (and ".TH EMACS" (1+ not-newline) |
| 90 | "GNU Emacs" (1+ space) | 75 | "GNU Emacs" (1+ space) |
| 91 | (submatch (1+ (in "0-9.")))))) | 76 | (submatch (1+ (in "0-9.")))))) |
| 92 | (set-version-in-file root "doc/misc/faq.texi" version | ||
| 93 | (rx (and "VER" (1+ space) | ||
| 94 | (submatch (1+ (in "0-9.")))))) | ||
| 95 | (set-version-in-file root "lib-src/makefile.w32-in" version | 77 | (set-version-in-file root "lib-src/makefile.w32-in" version |
| 96 | (rx (and "VERSION" (0+ space) "=" (0+ space) | 78 | (rx (and "VERSION" (0+ space) "=" (0+ space) |
| 97 | (submatch (1+ (in "0-9.")))))) | 79 | (submatch (1+ (in "0-9.")))))) |
| @@ -218,5 +200,4 @@ Root must be the root of an Emacs source tree." | |||
| 218 | 200 | ||
| 219 | (provide 'admin) | 201 | (provide 'admin) |
| 220 | 202 | ||
| 221 | ;; arch-tag: 4ea83636-2293-408b-884e-ad64f22a3bf5 | ||
| 222 | ;;; admin.el ends here | 203 | ;;; admin.el ends here |
diff --git a/configure.in b/configure.in index 7b9677f27c1..1437c363c99 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -3776,7 +3776,8 @@ dnl the use of force in the `epaths-force' rule in Makefile.in. | |||
| 3776 | AC_OUTPUT(Makefile lib-src/Makefile oldXMenu/Makefile \ | 3776 | AC_OUTPUT(Makefile lib-src/Makefile oldXMenu/Makefile \ |
| 3777 | doc/emacs/Makefile doc/misc/Makefile doc/lispintro/Makefile \ | 3777 | doc/emacs/Makefile doc/misc/Makefile doc/lispintro/Makefile \ |
| 3778 | doc/lispref/Makefile src/Makefile \ | 3778 | doc/lispref/Makefile src/Makefile \ |
| 3779 | lwlib/Makefile lisp/Makefile leim/Makefile, [ | 3779 | lwlib/Makefile lisp/Makefile leim/Makefile \ |
| 3780 | doc/emacs/emacsver.texi, [ | ||
| 3780 | 3781 | ||
| 3781 | ### Make the necessary directories, if they don't exist. | 3782 | ### Make the necessary directories, if they don't exist. |
| 3782 | for dir in etc lisp ; do | 3783 | for dir in etc lisp ; do |
| @@ -3793,6 +3794,3 @@ fi | |||
| 3793 | 3794 | ||
| 3794 | ], [GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPPFLAGS="$CPPFLAGS"]) | 3795 | ], [GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPPFLAGS="$CPPFLAGS"]) |
| 3795 | 3796 | ||
| 3796 | m4_if(dnl Do not change this comment | ||
| 3797 | arch-tag: 156a4dd5-bddc-4d18-96ac-f37742cf6a5e | ||
| 3798 | )dnl | ||
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index a7ddef1b209..773799d9b7e 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emacsver.texi.in: New file. | ||
| 4 | * emacs.texi: Set EMACSVER by including emacsver.texi. | ||
| 5 | * Makefile.in (distclean): Delete emacsver.texi. | ||
| 6 | (dist): Copy emacsver.texi. | ||
| 7 | |||
| 3 | * ack.texi (Acknowledgments): No more b2m.c. | 8 | * ack.texi (Acknowledgments): No more b2m.c. |
| 4 | 9 | ||
| 5 | * Makefile.in (.PHONY): Declare info, dvi, pdf, dist. | 10 | * Makefile.in (.PHONY): Declare info, dvi, pdf, dist. |
diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in index 2e02ee6738f..02fdbd4e095 100644 --- a/doc/emacs/Makefile.in +++ b/doc/emacs/Makefile.in | |||
| @@ -159,6 +159,7 @@ clean: mostlyclean | |||
| 159 | rm -f emacs-manual-${version}.tar* | 159 | rm -f emacs-manual-${version}.tar* |
| 160 | 160 | ||
| 161 | distclean: clean | 161 | distclean: clean |
| 162 | rm -f emacsver.texi | ||
| 162 | 163 | ||
| 163 | ## In the standalone tarfile, the clean rule runs this. | 164 | ## In the standalone tarfile, the clean rule runs this. |
| 164 | infoclean: | 165 | infoclean: |
| @@ -179,6 +180,8 @@ dist: | |||
| 179 | -e 's/\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \ | 180 | -e 's/\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \ |
| 180 | -e "s/@ver[s]ion@/${version}/" \ | 181 | -e "s/@ver[s]ion@/${version}/" \ |
| 181 | ${srcdir}/Makefile.in > emacs-manual-${version}/Makefile | 182 | ${srcdir}/Makefile.in > emacs-manual-${version}/Makefile |
| 183 | sed -e "s/@ver[s]ion@/${version}/" \ | ||
| 184 | ${srcdir}/emacsver.texi.in > emacs-manual-${version}/emacsver.texi | ||
| 182 | tar -cf emacs-manual-${version}.tar emacs-manual-${version} | 185 | tar -cf emacs-manual-${version}.tar emacs-manual-${version} |
| 183 | rm -rf emacs-manual-${version} | 186 | rm -rf emacs-manual-${version} |
| 184 | 187 | ||
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index 17337d2c592..1ece1ea6dd8 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | @c The edition number appears in several places in this file | 6 | @c The edition number appears in several places in this file |
| 7 | @set EDITION Sixteenth | 7 | @set EDITION Sixteenth |
| 8 | @set EMACSVER 24.0.50 | 8 | @include emacsver.texi |
| 9 | 9 | ||
| 10 | @copying | 10 | @copying |
| 11 | This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@* | 11 | This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@* |
| @@ -51,7 +51,6 @@ developing GNU and promoting software freedom.'' | |||
| 51 | @tex | 51 | @tex |
| 52 | @ifset smallbook | 52 | @ifset smallbook |
| 53 | @fonttextsize 10 | 53 | @fonttextsize 10 |
| 54 | @set EMACSVER 22 | ||
| 55 | \global\let\urlcolor=\Black % don't print links in grayscale | 54 | \global\let\urlcolor=\Black % don't print links in grayscale |
| 56 | \global\let\linkcolor=\Black | 55 | \global\let\linkcolor=\Black |
| 57 | @end ifset | 56 | @end ifset |
| @@ -1575,7 +1574,3 @@ Lisp programming. | |||
| 1575 | @printindex cp | 1574 | @printindex cp |
| 1576 | 1575 | ||
| 1577 | @bye | 1576 | @bye |
| 1578 | |||
| 1579 | @ignore | ||
| 1580 | arch-tag: ed48740a-410b-46ea-9387-c9a9252a3392 | ||
| 1581 | @end ignore | ||
diff --git a/doc/emacs/emacsver.texi.in b/doc/emacs/emacsver.texi.in new file mode 100644 index 00000000000..d6ad0e8da02 --- /dev/null +++ b/doc/emacs/emacsver.texi.in | |||
| @@ -0,0 +1 @@ | |||
| @set EMACSVER @version@ | |||
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index ca636af8dea..c3ed7e6834d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (emacsdir): New variable. | ||
| 4 | (MAKEINFO): Add -I $emacsdir. | ||
| 5 | (dist): Copy emacsver.texi. | ||
| 6 | * book-spine.texinfo, elisp.texi, vol2.texi, vol1.texi: | ||
| 7 | Set EMACSVER by including emacsver.texi. | ||
| 8 | |||
| 3 | * Makefile.in (.PHONY): Declare info, dvi, pdf, dist. | 9 | * Makefile.in (.PHONY): Declare info, dvi, pdf, dist. |
| 4 | 10 | ||
| 5 | 2010-10-07 Glenn Morris <rgm@gnu.org> | 11 | 2010-10-07 Glenn Morris <rgm@gnu.org> |
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in index ae9aaa64089..9cca29ee6e7 100644 --- a/doc/lispref/Makefile.in +++ b/doc/lispref/Makefile.in | |||
| @@ -32,8 +32,10 @@ version=@version@ | |||
| 32 | infodir = ../../info | 32 | infodir = ../../info |
| 33 | # Directory with the (customized) texinfo.tex file. | 33 | # Directory with the (customized) texinfo.tex file. |
| 34 | texinfodir = $(srcdir)/../misc | 34 | texinfodir = $(srcdir)/../misc |
| 35 | # Directory with emacsver.texi. | ||
| 36 | emacsdir = $(srcdir)/../emacs | ||
| 35 | 37 | ||
| 36 | MAKEINFO = makeinfo --force | 38 | MAKEINFO = makeinfo --force -I $(emacsdir) |
| 37 | TEXI2DVI = texi2dvi | 39 | TEXI2DVI = texi2dvi |
| 38 | TEXI2PDF = texi2pdf | 40 | TEXI2PDF = texi2pdf |
| 39 | 41 | ||
| @@ -143,6 +145,8 @@ dist: | |||
| 143 | -e 's/\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \ | 145 | -e 's/\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \ |
| 144 | -e "s/@ver[s]ion@/${version}/" \ | 146 | -e "s/@ver[s]ion@/${version}/" \ |
| 145 | ${srcdir}/Makefile.in > emacs-lispref-${version}/Makefile | 147 | ${srcdir}/Makefile.in > emacs-lispref-${version}/Makefile |
| 148 | sed -e "s/@ver[s]ion@/${version}/" \ | ||
| 149 | ${emacsdir}/emacsver.texi.in > emacs-lispref-${version}/emacsver.texi | ||
| 146 | tar -cf emacs-lispref-${version}.tar emacs-lispref-${version} | 150 | tar -cf emacs-lispref-${version}.tar emacs-lispref-${version} |
| 147 | rm -rf emacs-lispref-${version} | 151 | rm -rf emacs-lispref-${version} |
| 148 | 152 | ||
diff --git a/doc/lispref/book-spine.texinfo b/doc/lispref/book-spine.texinfo index 732df503ec0..270def6d8b3 100644 --- a/doc/lispref/book-spine.texinfo +++ b/doc/lispref/book-spine.texinfo | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | @settitle book-spine | 4 | @settitle book-spine |
| 5 | @c %**end of header | 5 | @c %**end of header |
| 6 | 6 | ||
| 7 | @include emacsver.texi | ||
| 8 | |||
| 7 | @c need dot in text so first space command works! | 9 | @c need dot in text so first space command works! |
| 8 | . | 10 | . |
| 9 | @sp 7 | 11 | @sp 7 |
| @@ -11,7 +13,7 @@ | |||
| 11 | @center @titlefont{GNU Emacs Lisp Reference Manual} | 13 | @center @titlefont{GNU Emacs Lisp Reference Manual} |
| 12 | @sp 5 | 14 | @sp 5 |
| 13 | @center GNU | 15 | @center GNU |
| 14 | @center Emacs Version 24.0.50 | 16 | @center Emacs Version @value{EMACSVER} |
| 15 | @center for Unix Users | 17 | @center for Unix Users |
| 16 | @sp 5 | 18 | @sp 5 |
| 17 | 19 | ||
| @@ -23,7 +25,3 @@ | |||
| 23 | @sp 5 | 25 | @sp 5 |
| 24 | @center Free Software Foundation | 26 | @center Free Software Foundation |
| 25 | @bye | 27 | @bye |
| 26 | |||
| 27 | @ignore | ||
| 28 | arch-tag: 4466c7ca-e549-4119-948c-6eed34e1ff87 | ||
| 29 | @end ignore | ||
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index 135bd17ac8d..e9b41a0c2b9 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | @c Please remember to update the edition number in README as well. | 8 | @c Please remember to update the edition number in README as well. |
| 9 | @c And also the copies in vol1.texi and vol2.texi. | 9 | @c And also the copies in vol1.texi and vol2.texi. |
| 10 | @set VERSION 3.0 | 10 | @set VERSION 3.0 |
| 11 | @set EMACSVER 24.0.50 | 11 | @include emacsver.texi |
| 12 | @set DATE July 2009 | 12 | @set DATE July 2009 |
| 13 | 13 | ||
| 14 | @c in general, keep the following line commented out, unless doing a | 14 | @c in general, keep the following line commented out, unless doing a |
| @@ -1529,7 +1529,3 @@ Object Internals | |||
| 1529 | 1529 | ||
| 1530 | 1530 | ||
| 1531 | These words prevent "local variables" above from confusing Emacs. | 1531 | These words prevent "local variables" above from confusing Emacs. |
| 1532 | |||
| 1533 | @ignore | ||
| 1534 | arch-tag: f7e9a219-a0e1-4776-b631-08eaa1d49b34 | ||
| 1535 | @end ignore | ||
diff --git a/doc/lispref/vol1.texi b/doc/lispref/vol1.texi index 6e8237334ac..38ddc988c0a 100644 --- a/doc/lispref/vol1.texi +++ b/doc/lispref/vol1.texi | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | @c Version of the manual and of Emacs. | 27 | @c Version of the manual and of Emacs. |
| 28 | @c Please remember to update the edition number in README as well. | 28 | @c Please remember to update the edition number in README as well. |
| 29 | @set VERSION 3.0 | 29 | @set VERSION 3.0 |
| 30 | @set EMACSVER 24.0.50 | 30 | @include emacsver.texi |
| 31 | @set DATE July 2009 | 31 | @set DATE July 2009 |
| 32 | 32 | ||
| 33 | @dircategory Emacs | 33 | @dircategory Emacs |
| @@ -1550,7 +1550,3 @@ Object Internals | |||
| 1550 | 1550 | ||
| 1551 | 1551 | ||
| 1552 | These words prevent "local variables" above from confusing Emacs. | 1552 | These words prevent "local variables" above from confusing Emacs. |
| 1553 | |||
| 1554 | @ignore | ||
| 1555 | arch-tag: 9594760d-8801-4d1b-aeb9-f3b3166b5be2 | ||
| 1556 | @end ignore | ||
diff --git a/doc/lispref/vol2.texi b/doc/lispref/vol2.texi index b36e06eae3a..2d84e4e5c21 100644 --- a/doc/lispref/vol2.texi +++ b/doc/lispref/vol2.texi | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | @c Version of the manual and of Emacs. | 27 | @c Version of the manual and of Emacs. |
| 28 | @c Please remember to update the edition number in README as well. | 28 | @c Please remember to update the edition number in README as well. |
| 29 | @set VERSION 3.0 | 29 | @set VERSION 3.0 |
| 30 | @set EMACSVER 24.0.50 | 30 | @include emacsver.texi |
| 31 | @set DATE July 2009 | 31 | @set DATE July 2009 |
| 32 | 32 | ||
| 33 | @dircategory Emacs | 33 | @dircategory Emacs |
| @@ -1549,7 +1549,3 @@ Object Internals | |||
| 1549 | 1549 | ||
| 1550 | 1550 | ||
| 1551 | These words prevent "local variables" above from confusing Emacs. | 1551 | These words prevent "local variables" above from confusing Emacs. |
| 1552 | |||
| 1553 | @ignore | ||
| 1554 | arch-tag: dfdbecf8-fec2-49c1-8427-3e8ac8b0b849 | ||
| 1555 | @end ignore | ||
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 93b129a2008..55d89d561b7 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,10 +1,14 @@ | |||
| 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-09 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (emacsdir): New variable. | ||
| 4 | ($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo. | ||
| 5 | * faq.texi (VER): Replace with EMACSVER from emacsver.texi. | ||
| 6 | |||
| 3 | * Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules. | 7 | * Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules. |
| 4 | 8 | ||
| 5 | 2010-10-08 Julien Danjou <julien@danjou.info> | 9 | 2010-10-08 Julien Danjou <julien@danjou.info> |
| 6 | 10 | ||
| 7 | * gnus.texi: add mm-shr | 11 | * gnus.texi: Add mm-shr. |
| 8 | 12 | ||
| 9 | 2010-10-08 Ludovic Courtès <ludo@gnu.org> | 13 | 2010-10-08 Ludovic Courtès <ludo@gnu.org> |
| 10 | 14 | ||
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index 6f32483af07..8b4b2c5c01d 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in | |||
| @@ -32,6 +32,9 @@ VPATH=@srcdir@ | |||
| 32 | ## Where the output files go. | 32 | ## Where the output files go. |
| 33 | ## Note that the setfilename command in the .texi files assumes this. | 33 | ## Note that the setfilename command in the .texi files assumes this. |
| 34 | infodir=../../info | 34 | infodir=../../info |
| 35 | ## Directory with emacsver.texi. | ||
| 36 | ## Currently only used by efaq; could be added to MAKEINFO. | ||
| 37 | emacsdir = $(srcdir)/../emacs | ||
| 35 | 38 | ||
| 36 | # The makeinfo program is part of the Texinfo distribution. | 39 | # The makeinfo program is part of the Texinfo distribution. |
| 37 | # Use --force so that it generates output even if there are errors. | 40 | # Use --force so that it generates output even if there are errors. |
| @@ -362,7 +365,7 @@ eudc.pdf: eudc.texi | |||
| 362 | 365 | ||
| 363 | efaq : $(infodir)/efaq | 366 | efaq : $(infodir)/efaq |
| 364 | $(infodir)/efaq: faq.texi $(infodir) | 367 | $(infodir)/efaq: faq.texi $(infodir) |
| 365 | cd $(srcdir); $(MAKEINFO) faq.texi | 368 | cd $(srcdir); $(MAKEINFO) -I $(emacsdir) faq.texi |
| 366 | faq.dvi: faq.texi | 369 | faq.dvi: faq.texi |
| 367 | $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi | 370 | $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi |
| 368 | faq.pdf: faq.texi | 371 | faq.pdf: faq.texi |
diff --git a/doc/misc/faq.texi b/doc/misc/faq.texi index f4dc0247197..ee5f72ac300 100644 --- a/doc/misc/faq.texi +++ b/doc/misc/faq.texi | |||
| @@ -4,8 +4,7 @@ | |||
| 4 | @settitle GNU Emacs FAQ | 4 | @settitle GNU Emacs FAQ |
| 5 | @c %**end of header | 5 | @c %**end of header |
| 6 | 6 | ||
| 7 | @c This is used in many places | 7 | @include emacsver.texi |
| 8 | @set VER 24.0.50 | ||
| 9 | 8 | ||
| 10 | @c This file is maintained by Romain Francoise <rfrancoise@gnu.org>. | 9 | @c This file is maintained by Romain Francoise <rfrancoise@gnu.org>. |
| 11 | @c Feel free to install changes without prior permission (but I'd | 10 | @c Feel free to install changes without prior permission (but I'd |
| @@ -67,7 +66,7 @@ This FAQ is maintained as a part of GNU Emacs. If you find any errors, | |||
| 67 | or have any suggestions, please use @kbd{M-x report-emacs-bug} to report | 66 | or have any suggestions, please use @kbd{M-x report-emacs-bug} to report |
| 68 | them. | 67 | them. |
| 69 | 68 | ||
| 70 | This is the version of the FAQ distributed with Emacs @value{VER}, and | 69 | This is the version of the FAQ distributed with Emacs @value{EMACSVER}, and |
| 71 | mainly describes that version. Although there is some information on | 70 | mainly describes that version. Although there is some information on |
| 72 | older versions, details about very old releases (now only of historical | 71 | older versions, details about very old releases (now only of historical |
| 73 | interest) have been removed. If you are interested in this, consult | 72 | interest) have been removed. If you are interested in this, consult |
| @@ -1010,7 +1009,7 @@ conventions}). | |||
| 1010 | @cindex Repository, Emacs | 1009 | @cindex Repository, Emacs |
| 1011 | @cindex Bazaar repository, Emacs | 1010 | @cindex Bazaar repository, Emacs |
| 1012 | 1011 | ||
| 1013 | Emacs @value{VER} is the current version as of this writing. A version | 1012 | Emacs @value{EMACSVER} is the current version as of this writing. A version |
| 1014 | number with two components (e.g. @samp{22.1}) indicates a released | 1013 | number with two components (e.g. @samp{22.1}) indicates a released |
| 1015 | version; three components indicate a development | 1014 | version; three components indicate a development |
| 1016 | version (e.g. @samp{23.0.50} is what will eventually become @samp{23.1}). | 1015 | version (e.g. @samp{23.0.50} is what will eventually become @samp{23.1}). |
| @@ -4479,7 +4478,3 @@ to the end of the @file{*Newsgroup*} buffer. | |||
| 4479 | @printindex cp | 4478 | @printindex cp |
| 4480 | 4479 | ||
| 4481 | @bye | 4480 | @bye |
| 4482 | |||
| 4483 | @ignore | ||
| 4484 | arch-tag: fee0d62d-06cf-43d8-ac21-123408eaf10f | ||
| 4485 | @end ignore | ||
| @@ -666,9 +666,10 @@ echo "Making links to \`info'" | |||
| 666 | ln emacs dummy~ ; ln emacs \#dummy\# | 666 | ln emacs dummy~ ; ln emacs \#dummy\# |
| 667 | rm -f *~ \#*\# core .arch-inventory .gitignore) | 667 | rm -f *~ \#*\# core .arch-inventory .gitignore) |
| 668 | 668 | ||
| 669 | # FIXME ? Why including *.aux etc? | ||
| 669 | echo "Making links to \`doc/emacs'" | 670 | echo "Making links to \`doc/emacs'" |
| 670 | (cd doc/emacs | 671 | (cd doc/emacs |
| 671 | ln *.texi *.aux *.fns *.kys *.vrs ../../${tempdir}/doc/emacs | 672 | ln *.texi *.texi.in *.aux *.fns *.kys *.vrs ../../${tempdir}/doc/emacs |
| 672 | ln makefile.w32-in ../../${tempdir}/doc/emacs | 673 | ln makefile.w32-in ../../${tempdir}/doc/emacs |
| 673 | test -f Makefile.in && ln Makefile.in ../../${tempdir}/doc/emacs | 674 | test -f Makefile.in && ln Makefile.in ../../${tempdir}/doc/emacs |
| 674 | ln ChangeLog ../../${tempdir}/doc/emacs | 675 | ln ChangeLog ../../${tempdir}/doc/emacs |