diff options
author | James Cloos <cloos@jhcloos.com> | 2007-12-06 16:38:33 -0500 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2007-12-06 16:38:33 -0500 |
commit | a8b081b412ddeffbd4d003870b082372038d20bc (patch) | |
tree | 8883ef76c068eee6dc1120e3d3d9d57e61ea33d4 /Makefile.am | |
parent | f999d9b0061d6c064c5c619a9faf097fce37598e (diff) | |
download | xorg-lib-libXp-a8b081b412ddeffbd4d003870b082372038d20bc.tar.gz |
Replace static ChangeLog with dist-hook to generate from git log
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 26b95ec..8d514bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,3 +29,13 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = xp.pc EXTRA_DIST = xp.pc.in autogen.sh + +EXTRA_DIST += ChangeLog +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog + +ChangeLog: + (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) + +dist-hook: ChangeLog |