From 7fb72c6e53f25f2d0b10fc9e0b412b8c7cde9101 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 15 May 2012 10:03:48 +0200 Subject: build: fix ChangeLog generation. * Makefile.am (gen-ChangeLog): Fix for VPATH builds. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 47c68369..eaafcaac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ -- cgit v1.2.1