diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-03-06 20:13:32 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-03-06 20:14:19 -0800 |
commit | 6bab5b26a1241b0e0edd058d2a921989f9a1747c (patch) | |
tree | 7a878ab05456f67460b915d2b8fed43b22056fe4 /lib/install-sh | |
parent | 4ef6c2d17d2805fd6f84af012ddc44edd7650789 (diff) | |
download | automake-6bab5b26a1241b0e0edd058d2a921989f9a1747c.tar.gz |
maint: write-file-hooks -> before-save-hook
write-file-hooks is obsolete since Emacs 22.1 (released June 2007) and
it's time to use the recommended replacement.
Problem reported by Glenn Morris in:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00008.html
* contrib/tap-driver.pl, lib/compile, lib/depcomp, lib/install-sh:
* lib/mdate-sh, lib/missing, lib/mkinstalldirs, lib/py-compile:
* lib/tap-driver.sh, lib/test-driver, lib/ylwrap:
Update hook usage for files where Automake is the canonical source.
Diffstat (limited to 'lib/install-sh')
-rwxr-xr-x | lib/install-sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/install-sh b/lib/install-sh index ac159ceda..5f3d36cb7 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2017-09-23.17; # UTC +scriptversion=2018-03-07.03; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -501,7 +501,7 @@ do done # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" |