[vlc-commits] doc: fix make distcheck with git worktrees

Romain Vimont git at videolan.org
Mon Jan 20 17:27:00 CET 2020


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon Jan 13 14:08:12 2020 +0100| [abba5c2972202e2ad7ee81d595d3c455770e413f] | committer: Thomas Guillem

doc: fix make distcheck with git worktrees

In a git worktree, .git is a regular (text) file, not a directory.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=abba5c2972202e2ad7ee81d595d3c455770e413f
---

 doc/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index ba22f12127..0b8bd54ec5 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -75,7 +75,7 @@ doc: Doxyfile
 	doxygen
 
 $(CHANGELOGS): Makefile.am
-	if test -d "$(top_srcdir)/.git"; then \
+	if test -e "$(top_srcdir)/.git"; then \
 		y="$@"; y="$${y##ChangeLog-}" ; \
 		git --git-dir="$(top_srcdir)/.git" log \
 			--since="$$y-01-01" \



More information about the vlc-commits mailing list