grub-devel
[Top][All Lists]
Advanced

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

Re: ChangeLog is generated from gitlog now.


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: ChangeLog is generated from gitlog now.
Date: Sat, 24 Jan 2015 20:18:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

On 24.01.2015 20:07, Andrei Borzenkov wrote:
> В Sat, 24 Jan 2015 19:55:32 +0100
> Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> 
>> On 24.01.2015 19:37, Andrei Borzenkov wrote:
>>> В Sat, 24 Jan 2015 17:33:44 +0100
>>> Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
>>>
>>>> It's generated only on creation of dist archive.
>>>> This also has implications to the git commit message format used.
>>>> Now git commit message follows standard git commit writing rules rather
>>>> than one-off rules which resulted from CSV->SVN->BZR->Git transitions.
>>>>
>>>
>>>> +ChangeLog: FORCE
>>>> +       if test -d $(top_srcdir)/.git; then \
>>>> +               $(gitlog_to_changelog) --srcdir=$(top_srcdir) 
>>>> --since=$(changelog_start_date) > 'address@hidden'; \
>>>> +               rm -f '$@'; mv 'address@hidden' '$@'; \
>>>> +       fi
>>>> +
>>>> +EXTRA_DIST += ChangeLog ChangeLog-2015
>>>
>>>
>>> This breaks make dist from git checkout, where repository is not
>>> available. May be empty ChangeLog should be created by autogen.sh.
> 
> yes. Thank you!
> 
committed, thanks.
>>>
>> Would this patch fix your issue?
>> diff --git a/Makefile.am b/Makefile.am
>> index df0a728..a9f5780 100644
>> --- a/Makefile.am
>> +++ b/Makefile.am
>> @@ -447,6 +447,8 @@ ChangeLog: FORCE
>>         if test -d $(top_srcdir)/.git; then \
>>                 $(gitlog_to_changelog) --srcdir=$(top_srcdir)
>> --since=$(changelog_start_date) > 'address@hidden'; \
>>                 rm -f '$@'; mv 'address@hidden' '$@'; \
>> +       else \
>> +               touch $@; \
>>         fi
>>
>>  EXTRA_DIST += ChangeLog ChangeLog-2015
>>
>>>
>>>
>>> _______________________________________________
>>> Grub-devel mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>>
>>
>>
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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