* Makefile.in: Fixes for recent change-history changes.

(change-history-nocommit): Update footer regexp.
Ensure output script stays executable.
This commit is contained in:
Glenn Morris 2015-05-10 12:01:39 -07:00
parent 387e1e1943
commit e20b70bf50
3 changed files with 2 additions and 4 deletions

View file

@ -1154,8 +1154,6 @@
as the default value instead of initial input
(http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
See ChangeLog.2 for earlier changes.
2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
Don't freeze with unreadable processes

View file

@ -1117,12 +1117,12 @@ unchanged-history-files:
change-history-nocommit: master-branch-is-current unchanged-history-files
-rm -f ChangeLog.tmp
$(MAKE) ChangeLog CHANGELOG=ChangeLog.tmp
(sed '/^;; [L]ocal Variables:/,$$d' <ChangeLog.tmp && cat $(CHANGELOG_N)) \
(sed '/^See ChangeLog.[0-9]* for earlier/,$$d' <ChangeLog.tmp && cat $(CHANGELOG_N)) \
>$(CHANGELOG_N).tmp
rm ChangeLog.tmp
new_origin=$$(git log --pretty=format:%H HEAD^!) && \
sed 's/^\(gen_origin=\).*/\1'"$$new_origin/" \
< $(emacslog) > $(emacslog).tmp
< $(emacslog) > $(emacslog).tmp && chmod +x $(emacslog).tmp
mv $(CHANGELOG_N).tmp $(CHANGELOG_N)
mv $(emacslog).tmp $(emacslog)

0
build-aux/gitlog-to-emacslog Normal file → Executable file
View file