On 24.01.2015 19:37, Andrei Borzenkov wrote:
> В Sat, 24 Jan 2015 17:33:44 +0100
> Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> пишет:
> 
>> 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) > '$@.tmp'; \
>> +               rm -f '$@'; mv '$@.tmp' '$@'; \
>> +       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.
> 
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) > '$@.tmp'; \
                rm -f '$@'; mv '$@.tmp' '$@'; \
+       else \
+               touch $@; \
        fi

 EXTRA_DIST += ChangeLog ChangeLog-2015

> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to