build: fix ChangeLog generation.

* Makefile.am (gen-ChangeLog): Fix for VPATH builds.
This commit is contained in:
Akim Demaille
2012-05-15 10:03:48 +02:00
parent 1ef57c947d
commit 7fb72c6e53

View File

@@ -66,7 +66,7 @@ update-package-copyright-year:
gen_start_date = 2012-01-16
.PHONY: gen-ChangeLog
gen-ChangeLog:
$(AM_V_GEN)if test -d .git; then \
$(AM_V_GEN)if test -d $(srcdir)/.git; then \
$(top_srcdir)/build-aux/gitlog-to-changelog \
--no-cluster \
--amend=$(srcdir)/build-aux/git-log-fix \