]> git.saurik.com Git - bison.git/commitdiff
build: fix ChangeLog generation.
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 15 May 2012 08:03:48 +0000 (10:03 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 16 May 2012 08:36:13 +0000 (10:36 +0200)
* Makefile.am (gen-ChangeLog): Fix for VPATH builds.

Makefile.am

index 47c68369686ceaa1111233b426c240ed2fcc5d95..eaafcaac106b732cb7770012bd4575a1a8915f64 100644 (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                     \