]> git.saurik.com Git - bison.git/blobdiff - Makefile.am
build: fix ChangeLog generation.
[bison.git] / 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:
 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                     \
          $(top_srcdir)/build-aux/gitlog-to-changelog                   \
            --no-cluster                                                \
            --amend=$(srcdir)/build-aux/git-log-fix                     \