From 692c0e98da8613c004f24ccf7084fc517ba8b4e4 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Mon, 26 Nov 2012 20:02:18 -0800 Subject: build: make dist to capture current build tree state ChangeLog will now hold the 'git log' and 'git diff' against the HEAD of the tree from which 'make dist' was issued. Change-Id: I0b5b27de66b02d733612470a8c79d65f0b560fa1 BUG: 764890 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/4235 Reviewed-by: Amar Tumballi --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 836f17efc1b..5f3cf322dac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,3 +19,7 @@ gitclean: distclean rm -f missing aclocal.m4 config.h.in config.guess config.sub ltmain.sh install-sh configure depcomp rm -fr argp-standalone/autom4te.cache rm -f argp-standalone/aclocal.m4 argp-standalone/config.h.in argp-standalone/configure argp-standalone/depcomp argp-standalone/install-sh argp-standalone/missing + +dist-hook: + sh -c "cd $(srcdir) && git diff && echo ===== git log ==== && git log" \ + > $(distdir)/ChangeLog -- cgit