(set-version): Add doc/misc/ns-emacs.texi.
authorGlenn Morris <rgm@gnu.org>
Thu, 23 Oct 2008 02:39:14 +0000 (02:39 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 23 Oct 2008 02:39:14 +0000 (02:39 +0000)
Add/tweak some nextstep/ entries.

admin/ChangeLog
admin/admin.el

index 7401af2..6eb96a9 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-23  Glenn Morris  <rgm@gnu.org>
+
+       * admin.el (set-version): Add doc/misc/ns-emacs.texi.
+       Add/tweak some nextstep/ entries.
+
 2008-09-19  Kenichi Handa  <handa@m17n.org>
 
        * FOR-RELEASE: Add an item for using EMACS_INT for buffer/string
index d30583c..705c4db 100644 (file)
@@ -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) "<string>" (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.