summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-08 18:46:28 -0800
committerStefano Karapetsas <[email protected]>2013-11-08 18:46:28 -0800
commit54b7a64c8f3d9a904acfdc0a5dd79141788b4d16 (patch)
tree969a8352e8a2fa538e4c64b87fa739440a2023ad /Makefile.am
parentc3b8c88722b5eee2a9ccfebe45cbce7b3b73dfce (diff)
parentd52a4ac5dada42cc49e11818da3a14e8253711a5 (diff)
downloadmate-settings-daemon-54b7a64c8f3d9a904acfdc0a5dd79141788b4d16.tar.bz2
mate-settings-daemon-54b7a64c8f3d9a904acfdc0a5dd79141788b4d16.tar.xz
Merge pull request #55 from infirit/master
Fixes and cleanups
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 14617a5..2d42695 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
NULL =
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
SUBDIRS = \
mate-settings-daemon \
plugins \
@@ -14,3 +16,17 @@ EXTRA_DIST = \
DISTCLEANFILES = \
$(NULL)
+
+dist-hook:
+ @if test -d "$(srcdir)/.git"; \
+ then \
+ echo Creating ChangeLog && \
+ (GIT_DIR=$(top_srcdir)/.git \
+ ./missing --run git log --stat -M -C --name-status --date=short --no-color) | \
+ fmt --split-only > ChangeLog.tmp \
+ && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
+ || ( rm -f ChangeLog.tmp ; \
+ echo Failed to generate ChangeLog >&2 ); \
+ else \
+ echo A git clone is required to generate a ChangeLog >&2; \
+ fi