summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-05-15 10:03:48 +0200
committerAkim Demaille <akim@lrde.epita.fr>2012-05-16 10:36:13 +0200
commit7fb72c6e53f25f2d0b10fc9e0b412b8c7cde9101 (patch)
treeeee896c7a8c94c3fc73f219e22ac1e766eea1b81 /Makefile.am
parent1ef57c947d095b3874748fffc2b0dcb1a41ad567 (diff)
downloadbison-7fb72c6e53f25f2d0b10fc9e0b412b8c7cde9101.tar.gz
build: fix ChangeLog generation.
* Makefile.am (gen-ChangeLog): Fix for VPATH builds.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
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 \