From 280e52ae95df0cbee0bb305f5354381bc1d563f4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 30 May 2013 18:04:24 -0400 Subject: [PATCH] Fix ChangeLog regen --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3f676399..dd1460c1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,8 @@ MAINTAINERCLEANFILES = \ # ChangeLog generation # CHANGELOG_RANGE = -ChangeLog: +ChangeLog: $(srcdir)/ChangeLog +$(srcdir)/ChangeLog: $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \ (GIT_DIR=$(top_srcdir)/.git $(top_srcdir)/missing --run \ git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \ @@ -38,7 +39,7 @@ ChangeLog: (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \ fi -.PHONY: $(srcdir)/ChangeLog +.PHONY: ChangeLog $(srcdir)/ChangeLog # -- GitLab