(set-version): Add doc/man/emacs.1.
[bpt/emacs.git] / admin / admin.el
index 1255649..3405d36 100644 (file)
@@ -78,6 +78,10 @@ Root must be the root of an Emacs source tree."
   (set-version-in-file root "doc/lispref/elisp.texi" version
                       (rx (and "EMACSVER" (1+ space)
                                (submatch (1+ (in "0-9."))))))
+  (set-version-in-file root "doc/man/emacs.1" version
+                      (rx (and ".TH EMACS" (1+ not-newline)
+                                "GNU Emacs" (1+ space)
+                               (submatch (1+ (in "0-9."))))))
   (set-version-in-file root "lib-src/makefile.w32-in" version
                       (rx (and "VERSION" (0+ space) "=" (0+ space)
                                (submatch (1+ (in "0-9."))))))