]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
maint: simplify "Local variables:" footer with time-stamp-pattern.
authorGary V. Vaughan <gary@gnu.org>
Sun, 7 Oct 2012 10:51:17 +0000 (17:51 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 12 Oct 2012 11:36:36 +0000 (18:36 +0700)
* bootstrap, build-aux/extract-trace, build-aux/options-parser
(Local variables): Use time-stamp-pattern to set number of
searched lines to 10, and to replace time-stamp-start,
time-stamp-end and time-stamp-format.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap
build-aux/extract-trace
build-aux/options-parser

index f02a5cfb5d979541beb0ebfe4d73162c15423e24..2beabbc116d0f79c389a14d828026a0aea7fc730 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,11 +1,11 @@
 #! /bin/sh
 
-# Source required external libraries.
+# Source required external libraries:
 . `echo "$0" |${SED-sed} 's|[^/]*$||'`"build-aux/options-parser"
 . `echo "$0" |${SED-sed} 's|[^/]*$||'`"build-aux/extract-trace"
 
 # Set a version string for *this* script.
-scriptversion=2011-11-21.09; # UTC
+scriptversion=2012-10-07.10; # UTC
 
 # Bootstrap this package from checked-out sources.
 # Written by Gary V. Vaughan, 2010
@@ -2529,8 +2529,6 @@ exit ${exit_status-$EXIT_SUCCESS}
 # mode: shell-script
 # sh-indentation: 2
 # eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
 # time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
 # End:
index 6ca0edcf4ff9b6676cb928b858db66f880168752..5a00ea0762adf419ec5f66550cfdbde7ae50a8d5 100755 (executable)
@@ -4,7 +4,7 @@
 test -n "$progpath" || . `echo "$0" |${SED-sed} 's|[^/]*$||'`/options-parser
 
 # Set a version string.
-scriptversion=2011-11-21.10; # UTC
+scriptversion=2012-10-07.10; # UTC
 
 # Extract macro arguments from autotools input with GNU M4.
 # Written by Gary V. Vaughan, 2010
@@ -400,8 +400,6 @@ test extract-trace = "$progname" && func_main "$@"
 # mode: shell-script
 # sh-indentation: 2
 # eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
 # time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
 # End:
index 14e67417ab5b2fb043b7769ccde7cf4cd85333c0..cb3f137d5ce2c8b8a9ad20538f3b660a48ec787e 100644 (file)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 # Set a version string for this script.
-scriptversion=2011-11-20.12; # UTC
+scriptversion=2012-10-07.10; # UTC
 
 # A pluggable option parser for Bourne shell.
 # Written by Gary V. Vaughan, 2010
@@ -852,8 +852,6 @@ func_version ()
 # mode: shell-script
 # sh-indentation: 2
 # eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
 # time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
 # End: