libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script timestamps


From: Ralf Wildenhues
Subject: Re: script timestamps
Date: Tue, 5 May 2009 07:56:59 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

[ adding libtool-patches ]

Hi Eric,

* Eric Blake wrote on Tue, Apr 28, 2009 at 11:29:15PM CEST:
> From: Eric Blake <address@hidden>
> Date: Tue, 28 Apr 2009 15:19:41 -0600
> Subject: [PATCH] scripts: normalize all timestamps to UTC
> 
> * lib/compile (scriptversion): Update emacs hook.
> * lib/depcomp (scriptversion): Likewise.
> * lib/elisp-comp (scriptversion): Likewise.
> * lib/gnupload (scriptversion): Likewise.
> * lib/install-sh (scriptversion): Likewise.
> * lib/mdate-sh (scriptversion): Likewise.
> * lib/missing (scriptversion): Likewise.
> * lib/mkinstalldirs (scriptversion): Likewise.
> * lib/py-compile (scriptversion): Likewise.
> * lib/ylwrap (scriptversion): Likewise.
[...]

> --- a/lib/install-sh
> +++ b/lib/install-sh
> @@ -1,7 +1,7 @@
>  #!/bin/sh
>  # install - install a program, script, or datafile
> 
> -scriptversion=2006-12-25.00
> +scriptversion=2009-04-28.21; # UTC
> 
>  # This originates from X11R5 (mit/util/scripts/install.sh), which was
>  # later released in X11R6 (xc/config/util/install.sh) with the

This requires the following adjustment to libtoolize, pushed to master.

Cheers,
Ralf

    libtoolize: ignore trailing junk on scriptversion line.
    
    * libtoolize.m4sh (func_install_update): Ignore semi-colon or
    comment-sign and all following characters when parsing a
    `scriptversion' line in one of the auxiliary scripts; recent
    Automake-provided script have a stylized comment to induce
    Emacs to use UTC.
    Exposed by the `libtoolize config files serial update' test.

diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index 27f17a7..bff700a 100644
--- a/libtoolize.m4sh
+++ b/libtoolize.m4sh
@@ -1021,6 +1021,7 @@ func_install_update ()
     $opt_debug
     my_sed_install='
        /^scriptversion='\''*[0-9][1-9.-]*'\''*/ {
+           s,[#;].*,,
            s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,
            s/-/./g
            p




reply via email to

[Prev in Thread] Current Thread [Next in Thread]