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 <avati@redhat.com>
Reviewed-on: http://review.gluster.org/4235
Reviewed-by: Amar Tumballi <amarts@redhat.com>
This commit is contained in:
Anand Avati 2012-11-26 20:02:18 -08:00
parent a20b52d029
commit 692c0e98da

View File

@ -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