Browse Source

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@gllm.fr>
pull/101/head
Romain Vimont 7 years ago
committed by Thomas Guillem
parent
commit
abba5c2972
  1. 2
      doc/Makefile.am

2
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" \

Loading…
Cancel
Save