diff options
author | raveit65 <[email protected]> | 2016-04-06 17:21:22 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-04-06 17:21:22 +0200 |
commit | 615ff70572c027864f3766fe0acdadd9e3f00f9c (patch) | |
tree | 3112053b18aaba6954818722821eb5e65bcc8061 | |
parent | fae54eeb686160b85ad8ff3d0d1a859af709ee7a (diff) | |
download | caja-615ff70572c027864f3766fe0acdadd9e3f00f9c.tar.bz2 caja-615ff70572c027864f3766fe0acdadd9e3f00f9c.tar.xz |
Add Changelog generation
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 8e14fc3c..18718fba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,9 +36,12 @@ DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb --disable-icon-update --enab ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} -distclean-local: - if test "$(srcdir)" = "."; then :; else \ - rm -f ChangeLog; \ +# Build ChangeLog from GIT history +ChangeLog: + $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \ + GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \ fi +dist: ChangeLog + .PHONY: ChangeLog |