[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7bb614e 1/3: Adapt 'make change-history' to coding
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 7bb614e 1/3: Adapt 'make change-history' to coding cookie |
Date: |
Thu, 09 Apr 2015 17:22:47 +0000 |
branch: master
commit 7bb614e399300a80a68cd5196c1fd1f96d44e0af
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Adapt 'make change-history' to coding cookie
* Makefile.in (change-history): Adjust to change of format of
ChangeLog file, which now has a coding cookie before an indented
copyright notice.
---
Makefile.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 55fb54a..a61cbc6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1110,7 +1110,7 @@ unchanged-history-files:
# Copy newer commit messages to the start of the ChangeLog history file,
# and consider them to be older.
change-history: ChangeLog unchanged-history-files
- (sed '/^Copyright/,$$d' <ChangeLog && cat $(CHANGELOG_N)) \
+ (sed '/^;; Local Variables:/,$$d' <ChangeLog && cat $(CHANGELOG_N)) \
>$(CHANGELOG_N).tmp
new_origin=$$(git log --pretty=format:%H HEAD^!) && \
sed 's/^\(gen_origin *= *\).*/\1'"$$new_origin/" \