libtool-patches
[Top][All Lists]
Advanced

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

Re: Allow bootstrap from git repository


From: Ralf Wildenhues
Subject: Re: Allow bootstrap from git repository
Date: Tue, 15 Apr 2008 20:00:43 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hi Peter,

* Peter O'Gorman wrote on Tue, Apr 15, 2008 at 04:54:10PM CEST:
> 
> I looked again, and at first counted all the lines in all the
> changelogs, but then it seemed better to count only what looked like dates.

Better.  I don't mind that multiple commits like this count as one:

2008-xx-xx  User

        * foo: Foo.

        * bar: Bar.


> --- a/libltdl/config/mkstamp
> +++ b/libltdl/config/mkstamp

> +awk 'BEGIN {
> +     cocount=0;
> +}
> +/[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]  / {
> +        if (cocount== 0) {
> +                datestr=$1
> +        }
> +     cocount++;
> +}
> +END {
> +     cocount = cocount + 1000;
> +        print "1." cocount " " datestr;
> +}' $1/ChangeLog $1/ChangeLog.*

Please make the latter be $1/ChangeLog.[12][0-9][0-9][0-9] so backup
files don't count (I tend to cp foo foo.bak at times).  OK with that
change.

Thanks,
Ralf




reply via email to

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