(set-version): Set version in nt/emacsclient.rc

This commit is contained in:
Jason Rumney 2008-08-16 04:15:12 +00:00
parent b6ec0fa0fb
commit b7063e7e5a
2 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2008-08-16 Jason Rumney <jasonr@gnu.org>
* admin.el (set-version): Set version in nt/emacsclient.rc
2008-03-26 Chong Yidong <cyd@stupidchicken.com>
* Version 22.2 released.

View file

@ -121,6 +121,20 @@ Root must be the root of an Emacs source tree."
(rx (and "\"ProductVersion\"" (0+ space) ?,
(0+ space) ?\" (submatch (1+ (in "0-9, ")))
"\\0\"")))
;; Likewise for emacsclient.rc
(set-version-in-file root "nt/emacsclient.rc" comma-version
(rx (and "FILEVERSION" (1+ space)
(submatch (1+ (in "0-9,"))))))
(set-version-in-file root "nt/emacsclient.rc" comma-version
(rx (and "PRODUCTVERSION" (1+ space)
(submatch (1+ (in "0-9,"))))))
(set-version-in-file root "nt/emacsclient.rc" comma-space-version
(rx (and "\"FileVersion\"" (0+ space) ?, (0+ space)
?\" (submatch (1+ (in "0-9, "))) "\\0\"")))
(set-version-in-file root "nt/emacsclient.rc" comma-space-version
(rx (and "\"ProductVersion\"" (0+ space) ?,
(0+ space) ?\" (submatch (1+ (in "0-9, ")))
"\\0\"")))
;; Some files in the "mac" subdirectory also contain the version
;; number.
(set-version-in-file