From 91236f636eff8b9edcc73ef7e4798ad547eee9a8 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 23 Oct 2008 02:39:14 +0000 Subject: [PATCH] (set-version): Add doc/misc/ns-emacs.texi. Add/tweak some nextstep/ entries. --- admin/ChangeLog | 5 +++++ admin/admin.el | 16 +++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/admin/ChangeLog b/admin/ChangeLog index 7401af205e6..6eb96a9e03a 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -1,3 +1,8 @@ +2008-10-23 Glenn Morris + + * admin.el (set-version): Add doc/misc/ns-emacs.texi. + Add/tweak some nextstep/ entries. + 2008-09-19 Kenichi Handa * FOR-RELEASE: Add an item for using EMACS_INT for buffer/string diff --git a/admin/admin.el b/admin/admin.el index d30583cd07c..705c4db8459 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -92,6 +92,9 @@ Root must be the root of an Emacs source tree." (set-version-in-file root "doc/misc/faq.texi" version (rx (and "VER" (1+ space) (submatch (1+ (in "0-9.")))))) + (set-version-in-file root "doc/misc/ns-emacs.texi" version + (rx (and "VER" (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.")))))) @@ -145,8 +148,8 @@ Root must be the root of an Emacs source tree." (submatch (1+ (in "0-9.")))))) (set-version-in-file root "nextstep/Cocoa/Emacs.base/Contents/Info.plist" - version (rx (and "CFBundleShortVersionString" (1+ anything) - "Version" (1+ space) + version (rx (and "CFBundleShortVersionString" (1+ not-newline) ?\n + (0+ not-newline) "" (0+ space) (submatch (1+ (in "0-9.")))))) (set-version-in-file root "nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings" @@ -158,11 +161,18 @@ Root must be the root of an Emacs source tree." version (rx (and "CFBundleGetInfoString" (0+ space) ?= (0+ space) ?\" (0+ space) "Emacs version" (1+ space) (submatch (1+ (in "0-9.")))))) + (set-version-in-file + root "nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist" + version (rx (and "ApplicationRelease" (0+ space) ?= (0+ space) + ?\" (0+ space) (submatch (1+ (in "0-9.")))))) (set-version-in-file root "nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist" version (rx (and "FullVersionID" (0+ space) ?= (0+ space) ?\" (0+ space) "Emacs" (1+ space) - (submatch (1+ (in "0-9."))))))) + (submatch (1+ (in "0-9.")))))) + (set-version-in-file + root "nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop" + version (rx (and "Version=" (submatch (1+ (in "0-9."))))))) ;; Note this makes some assumptions about form of short copyright. ;; FIXME add the \year in the refcards/*.tex files. -- 2.39.5