[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 6273503: make-dist: fix bug with top-level ChangeLo
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 6273503: make-dist: fix bug with top-level ChangeLog |
Date: |
Wed, 11 Apr 2018 20:04:21 -0400 (EDT) |
branch: master
commit 6273503660e055dddbf081e94040d4b1b4735c93
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
make-dist: fix bug with top-level ChangeLog
Problem reported by Glenn Morris in:
https://lists.gnu.org/r/emacs-devel/2018-04/msg00307.html
* make-dist (top_level_ChangeLog): New var. Use it to link
top-level ChangeLog only when desired.
---
make-dist | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/make-dist b/make-dist
index 7fd2278..4f420a9 100755
--- a/make-dist
+++ b/make-dist
@@ -358,12 +358,14 @@ fi
echo "Creating top directory: '${tempdir}'"
mkdir ${tempdir} || exit
+top_level_ChangeLog=
if [ "$changelog" = yes ]; then
if test -r .git; then
## When making a release or pretest the ChangeLog should already
## have been created and edited as needed. Don't ignore it.
if test -r ChangeLog; then
echo "Using existing top-level ChangeLog"
+ top_level_ChangeLog=ChangeLog
else
echo "Making top-level ChangeLog"
make ChangeLog CHANGELOG=${tempdir}/ChangeLog || \
@@ -383,9 +385,9 @@ top_level='
INSTALL README BUGS
ChangeLog.*[0-9] Makefile.in autogen.sh configure configure.ac
config.bat make-dist .dir-locals.el
- aclocal.m4 CONTRIBUTE ChangeLog
+ aclocal.m4 CONTRIBUTE
'
-ln $top_level $tempdir || exit
+ln $top_level $top_level_ChangeLog $tempdir || exit
echo "Creating subdirectories"
for subdir in site-lisp \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 6273503: make-dist: fix bug with top-level ChangeLog,
Paul Eggert <=