aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris2008-07-16 02:14:02 +0000
committerGlenn Morris2008-07-16 02:14:02 +0000
commitd384112704e2722e92287882f16efe6e89a0a08b (patch)
treebeb609b25af7e68d67107d41b129a79b6247d3b1 /admin
parent0ae1e5e5653aff34bb099296d34314a1c8279f91 (diff)
downloademacs-d384112704e2722e92287882f16efe6e89a0a08b.tar.gz
emacs-d384112704e2722e92287882f16efe6e89a0a08b.zip
(set-version, set-copyright): Add nextstep/ files.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog4
-rw-r--r--admin/admin.el43
2 files changed, 43 insertions, 4 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index f56344da46c..b20420a28e8 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,7 @@
12008-07-16 Glenn Morris <rgm@gnu.org>
2
3 * admin.el (set-version, set-copyright): Add nextstep/ files.
4
12008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> 52008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
2 6
3 * CPP_DEFINES: Add NS port related defines. 7 * CPP_DEFINES: Add NS port related defines.
diff --git a/admin/admin.el b/admin/admin.el
index 2b4a7f40637..ca803fa4a99 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -159,7 +159,32 @@ Root must be the root of an Emacs source tree."
159 (set-version-in-file 159 (set-version-in-file
160 root "mac/src/Emacs.r" release 160 root "mac/src/Emacs.r" release
161 (rx (and (submatch (1+ (in "a-z"))) (0+ space) ?\, (0+ space) 161 (rx (and (submatch (1+ (in "a-z"))) (0+ space) ?\, (0+ space)
162 "/* development, alpha, beta, or final (release) */")))))) 162 "/* development, alpha, beta, or final (release) */")))))
163 ;; nextstep.
164 (set-version-in-file
165 root "nextstep/Cocoa/Emacs.base/Contents/Info.plist"
166 version (rx (and "CFBundleGetInfoString" (1+ anything) "Emacs" (1+ space)
167 (submatch (1+ (in "0-9."))))))
168 (set-version-in-file
169 root "nextstep/Cocoa/Emacs.base/Contents/Info.plist"
170 version (rx (and "CFBundleShortVersionString" (1+ anything)
171 "Version" (1+ space)
172 (submatch (1+ (in "0-9."))))))
173 (set-version-in-file
174 root "nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings"
175 version (rx (and "CFBundleShortVersionString" (0+ space) ?= (0+ space)
176 ?\" (0+ space) "Version" (1+ space)
177 (submatch (1+ (in "0-9."))))))
178 (set-version-in-file
179 root "nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings"
180 version (rx (and "CFBundleGetInfoString" (0+ space) ?= (0+ space)
181 ?\" (0+ space) "Emacs version" (1+ space)
182 (submatch (1+ (in "0-9."))))))
183 (set-version-in-file
184 root "nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist"
185 version (rx (and "FullVersionID" (0+ space) ?= (0+ space)
186 ?\" (0+ space) "Emacs" (1+ space)
187 (submatch (1+ (in "0-9.")))))))
163 188
164;; Note this makes some assumptions about form of short copyright. 189;; Note this makes some assumptions about form of short copyright.
165;; FIXME add the \year in the refcards/*.tex files. 190;; FIXME add the \year in the refcards/*.tex files.
@@ -208,9 +233,19 @@ Root must be the root of an Emacs source tree."
208 (rx (and ?\" 233 (rx (and ?\"
209 (submatch (1+ (not (in ?\")))) 234 (submatch (1+ (not (in ?\"))))
210 ?\" (0+ space) 235 ?\" (0+ space)
211 "/* Long version number */"))))) 236 "/* Long version number */"))))
237 ;; nextstep.
238 (set-version-in-file
239 root "nextstep/Cocoa/Emacs.base/Contents/Info.plist"
240 copyright (rx (and "CFBundleGetInfoString" (1+ anything) "Emacs" (1+ space)
241 (1+ (in "0-9.")) (1+ space)
242 (submatch (1+ (not (in ?\<)))))))
243 (set-version-in-file
244 root "nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings"
245 copyright (rx (and "NSHumanReadableCopyright" (0+ space) ?\= (0+ space)
246 ?\" (submatch (1+ (not (in ?\"))))))))
212 247
213(provide 'admin) 248(provide 'admin)
214 249
215;;; arch-tag: 4ea83636-2293-408b-884e-ad64f22a3bf5 250;; arch-tag: 4ea83636-2293-408b-884e-ad64f22a3bf5
216;; admin.el ends here. 251;;; admin.el ends here