build: Fix ChangeLog building for builds from other worktrees.
authorWerner Koch <wk@gnupg.org>
Thu, 8 Jun 2017 08:10:47 +0000 (10:10 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 8 Jun 2017 08:10:47 +0000 (10:10 +0200)
commitcdfd7ea72a44657f037dd0dbba6e5ea0c2b344aa
tree44c4f65dcfde5505d03411c7ab6239ede88fcdff
parent9964d3a3fe0c79da79f9132998fe35923e31d92a
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@gnupg.org>
Makefile.am