diff options
| author | YAMAMOTO Mitsuharu | 2019-04-27 18:33:39 +0900 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2019-04-27 18:33:39 +0900 |
| commit | 886bedb36c7b959b7e6fc8ce8e0c04e144b0ae28 (patch) | |
| tree | b5770d9fc10a704ad8aeb3474c6940121252c770 /admin/admin.el | |
| parent | 015a6e1df2772bd43680df5cbeaffccf98a881da (diff) | |
| parent | 8dc00b2f1e6523c634df3e24379afbe712a32b27 (diff) | |
| download | emacs-886bedb36c7b959b7e6fc8ce8e0c04e144b0ae28.tar.gz emacs-886bedb36c7b959b7e6fc8ce8e0c04e144b0ae28.zip | |
Merge branch 'master' into harfbuzz
Diffstat (limited to 'admin/admin.el')
| -rw-r--r-- | admin/admin.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/admin/admin.el b/admin/admin.el index 3fc50afe9f0..030bd54b521 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; admin.el --- utilities for Emacs administration | 1 | ;;; admin.el --- utilities for Emacs administration |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001-2018 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2019 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; This file is part of GNU Emacs. | 5 | ;; This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -138,13 +138,16 @@ Root must be the root of an Emacs source tree." | |||
| 138 | (if (eq 2 (length newversion)) 0 1)))) | 138 | (if (eq 2 (length newversion)) 0 1)))) |
| 139 | (majorbump (and oldversion (not (equal oldmajor newmajor)))) | 139 | (majorbump (and oldversion (not (equal oldmajor newmajor)))) |
| 140 | (minorbump (and oldversion (not majorbump) | 140 | (minorbump (and oldversion (not majorbump) |
| 141 | (not (equal (cadr oldversion) (cadr newversion))))) | 141 | (or (not (equal (cadr oldversion) |
| 142 | (cadr newversion))) | ||
| 143 | (and (equal (cadr oldversion) (cadr newversion)) | ||
| 144 | (equal (nth 2 newversion) 50))))) | ||
| 142 | (newsfile (expand-file-name "etc/NEWS" root)) | 145 | (newsfile (expand-file-name "etc/NEWS" root)) |
| 143 | (oldnewsfile (expand-file-name (format "etc/NEWS.%s" oldmajor) root))) | 146 | (oldnewsfile (expand-file-name (format "etc/NEWS.%s" oldmajor) root))) |
| 144 | (unless (> (length newversion) 2) ; pretest or release candidate? | 147 | (unless (> (length newversion) 2) ; pretest or release candidate? |
| 145 | (with-temp-buffer | 148 | (with-temp-buffer |
| 146 | (insert-file-contents newsfile) | 149 | (insert-file-contents newsfile) |
| 147 | (if (re-search-forward "^\\(+++ *\\|--- *\\)$" nil t) | 150 | (if (re-search-forward "^\\(\\+\\+\\+ *\\|--- *\\)$" nil t) |
| 148 | (display-warning 'admin | 151 | (display-warning 'admin |
| 149 | "NEWS file still contains temporary markup. | 152 | "NEWS file still contains temporary markup. |
| 150 | Documentation changes might not have been completed!")))) | 153 | Documentation changes might not have been completed!")))) |
| @@ -696,6 +699,7 @@ style=\"text-align:left\">") | |||
| 696 | (if (file-directory-p stem) | 699 | (if (file-directory-p stem) |
| 697 | (delete-directory stem t)) | 700 | (delete-directory stem t)) |
| 698 | (make-directory stem) | 701 | (make-directory stem) |
| 702 | (setq stem (file-name-as-directory stem)) | ||
| 699 | (copy-file "../doc/misc/texinfo.tex" stem) | 703 | (copy-file "../doc/misc/texinfo.tex" stem) |
| 700 | (unless (equal type "emacs") | 704 | (unless (equal type "emacs") |
| 701 | (copy-file "../doc/emacs/emacsver.texi" stem) | 705 | (copy-file "../doc/emacs/emacsver.texi" stem) |
| @@ -718,7 +722,7 @@ style=\"text-align:left\">") | |||
| 718 | (setq ats t) | 722 | (setq ats t) |
| 719 | (message "Unexpanded: %s" (match-string 0))) | 723 | (message "Unexpanded: %s" (match-string 0))) |
| 720 | (if ats (error "Unexpanded configure variables in Makefile?"))) | 724 | (if ats (error "Unexpanded configure variables in Makefile?"))) |
| 721 | (write-region nil nil (expand-file-name (format "%s/Makefile" stem)) | 725 | (write-region nil nil (expand-file-name (format "%sMakefile" stem)) |
| 722 | nil 'silent)) | 726 | nil 'silent)) |
| 723 | (call-process "tar" nil nil nil "-cf" tarfile stem) | 727 | (call-process "tar" nil nil nil "-cf" tarfile stem) |
| 724 | (delete-directory stem t) | 728 | (delete-directory stem t) |