diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-02-19 12:37:59 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-02-19 12:37:59 +0000 |
commit | 3df99bcbe3e80467f050484d83eca9ffae03e947 (patch) | |
tree | f7e61f5851e82ad7f55342a0ce87d0fbd9a288bd /Makefile.am | |
parent | 55d8f3fc9cdfe5b8f00c546a7264b195fb655148 (diff) |
Use AX_GENERATE_CHANGELOG to generate ChangeLog
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am index e9cb1e0..309cd5a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -346,16 +346,10 @@ $(patsubst %,%.test,$(test_programs)): %.test: Makefile # === Documentation === -dist-hook: +@GENERATE_CHANGELOG_RULES@ + +dist-hook: dist-ChangeLog echo $(VERSION) > $(distdir)/.version - chmod u+w $(distdir)/ChangeLog - if test -d $(top_srcdir)/.git; then \ - if GIT_DIR=$(top_srcdir)/.git git log --stat > $(distdir)/ChangeLog; then \ - : ; \ - else \ - GIT_DIR=$(top_srcdir)/.git git log > $(distdir)/ChangeLog; \ - fi; \ - fi touch $(distdir)/MANIFEST touch $(distdir)/MANIFEST.in ( cd $(distdir) && find -type d -o -print ) | \ |