summaryrefslogtreecommitdiff
path: root/build-aux/gitlog-to-emacslog
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-05-06 21:58:58 -0400
committerGlenn Morris <rgm@gnu.org>2015-05-06 21:58:58 -0400
commitadb69ddff05ce770261e03d249f2e31e75c098af (patch)
tree9723ce635e48b1da50b710c88cd4aded816b59a6 /build-aux/gitlog-to-emacslog
parent09b872dff4242964daca072472ddfc1dd47cbbc1 (diff)
downloademacs-adb69ddff05ce770261e03d249f2e31e75c098af.tar.gz
Avoid unnecessary bumping of Makefile.in's timestamp.
* Makefile.in (gen_origin): Move to gitlog-to-emacslog. (emacslog): New variable. (ChangeLog): Use $emacslog. Don't pass $gen_origin. (unchanged-history-files): Use $emacslog rather than Makefile.in. (change-history-nocommit): Store hash in $emacslog. * build-aux/gitlog-to-emacslog (gen_origin): Move default here. * admin/update_autogen (changelog_files): Update for the above.
Diffstat (limited to 'build-aux/gitlog-to-emacslog')
-rwxr-xr-xbuild-aux/gitlog-to-emacslog5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-aux/gitlog-to-emacslog b/build-aux/gitlog-to-emacslog
index 059cf81abc0..a657cce0b61 100755
--- a/build-aux/gitlog-to-emacslog
+++ b/build-aux/gitlog-to-emacslog
@@ -22,7 +22,10 @@
LC_ALL=C
export LC_ALL
-gen_origin=${1?}
+# The newest revision that should not appear in the generated ChangeLog.
+gen_origin=2c1b8604946efbcd8ec5dd6c6dda7541ce4fc3c0
+test -n "$1" && test "$1" != "." && gen_origin=$1
+
output=$2
test -n "$output" || output=ChangeLog