Libgcrypt 1.7.7 - empty changelog

Werner Koch wk at gnupg.org
Thu Jun 8 10:12:26 CEST 2017


On Sun,  4 Jun 2017 13:39, ametzler at bebt.de said:
> ChangeLog in the 1.7.7 relase tarball is empty, it only contains the
> disclaimer about being generated by make dist.

I am built from another git worktree which caused the problem.  Will be
fixed for the next release.


Salam-Shalom,

   Werner


====
    build: Fix ChangeLog building for builds from other worktrees.
    
    * Makefile.am (gen-ChangeLog): Test for existance of ".git" regardless
    on whether it is a file or directory.
    --
    
    git worktree create a plain file ".git" and not a ".git" directory.
    Thus we can't check for the existance of a directory.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

	Modified   Makefile.am
diff --git a/Makefile.am b/Makefile.am
index f946df2..f97af7f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -78,7 +78,7 @@ distcheck-hook:
 gen_start_date = 2011-12-01T14:00:00
 .PHONY: gen-ChangeLog
 gen-ChangeLog:
-	if test -d $(top_srcdir)/.git; then				\
+	if test -e $(top_srcdir)/.git; then				\
 	  (cd $(top_srcdir) &&                      			\
 	    $(GITLOG_TO_CHANGELOG) --append-dot --tear-off		\
 	    --amend=build-aux/git-log-fix	 			\


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170608/ade91fa9/attachment.sig>


More information about the Gcrypt-devel mailing list