emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 a4ab2a5 1/6: Make it possible to run make change-


From: Nicolas Petton
Subject: [Emacs-diffs] emacs-25 a4ab2a5 1/6: Make it possible to run make change-history on emacs-25
Date: Sat, 30 Jan 2016 15:01:06 +0000

branch: emacs-25
commit a4ab2a563a062e76b9e79befd3a80fdbea523f16
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    Make it possible to run make change-history on emacs-25
    
    * Makefile.in: Check if the current branch is emacs-25 instead of
      master.
---
 Makefile.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index b792e7c..75fd150 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1089,7 +1089,7 @@ bootstrap: bootstrap-clean
        $(MAKE) all
 
 .PHONY: ChangeLog change-history change-history-commit change-history-nocommit
-.PHONY: master-branch-is-current unchanged-history-files
+.PHONY: emacs-25-branch-is-current unchanged-history-files
 
 CHANGELOG = ChangeLog
 emacslog = build-aux/gitlog-to-emacslog
@@ -1106,8 +1106,8 @@ ChangeLog:
          ./$(emacslog) -o $(CHANGELOG) -n $(CHANGELOG_HISTORY_INDEX_MAX)
 
 # Check that we are in a good state for changing history.
-master-branch-is-current:
-       git branch | grep -q '^\* master$$'
+emacs-25-branch-is-current:
+       git branch | grep -q '^\* emacs-25$$'
 unchanged-history-files:
        x=$$(git diff-files --name-only $(CHANGELOG_N) $(emacslog)) && \
          test -z "$$x"
@@ -1117,7 +1117,7 @@ new_commit_regexp = ^commit [0123456789abcdef]* 
(inclusive)
 
 # Copy newer commit messages to the start of the ChangeLog history file,
 # and consider them to be older.
-change-history-nocommit: master-branch-is-current unchanged-history-files
+change-history-nocommit: emacs-25-branch-is-current unchanged-history-files
        -rm -f ChangeLog.tmp
        $(MAKE) ChangeLog CHANGELOG=ChangeLog.tmp
        sed '/^This file records repository revisions/,$$d' \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]