aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris2010-10-08 18:41:21 -0700
committerGlenn Morris2010-10-08 18:41:21 -0700
commitf7a31f1108819af24320aa33c9d2d5728ce0b83c (patch)
tree07454d84870d48c80e401eb6408c9ba9e2bcdd0c /admin
parent3fb78d1f3341032d7bca0d4f6c708fb90d80a7ed (diff)
downloademacs-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.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog2
-rw-r--r--admin/admin.el23
2 files changed, 4 insertions, 21 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index d3ca3a19dd4..dc220d99741 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,5 +1,7 @@
12010-10-09 Glenn Morris <rgm@gnu.org> 12010-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
52010-09-05 Juanma Barranquero <lekktu@gmail.com> 72010-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