From: Akim Demaille Date: Tue, 15 May 2012 08:03:48 +0000 (+0200) Subject: build: fix ChangeLog generation. X-Git-Tag: v2.5.1_rc2~10 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/7fb72c6e53f25f2d0b10fc9e0b412b8c7cde9101?ds=sidebyside build: fix ChangeLog generation. * Makefile.am (gen-ChangeLog): Fix for VPATH builds. --- 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 \