Fix git calling out of the source tree
authorRafaël Carré <funman@videolan.org>
Mon, 31 Mar 2008 14:57:13 +0000 (16:57 +0200)
committerRafaël Carré <funman@videolan.org>
Mon, 31 Mar 2008 14:57:13 +0000 (16:57 +0200)
doc/Makefile.am

index 5f8eed6..6c1989e 100644 (file)
@@ -51,7 +51,7 @@ DISTCLEANFILES = $(CHANGELOGS)
 
 $(CHANGELOGS): Makefile.am
        y="$$(echo "$@" | sed -e 's,ChangeLog-,,')" ; \
-       git-log \
+       git --git-dir=$(top_srcdir)/.git log\
                --since="$$y-01-01" \
                --until="$$y-12-31 23:00:00 -0100" \
                > "$@"