diff options
author | James Cloos <cloos@jhcloos.com> | 2007-12-06 05:13:52 -0500 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2007-12-06 05:13:52 -0500 |
commit | 29a316c91b55a0ca193c9e902491f2ae78f33b76 (patch) | |
tree | 3aff02566f8c33b6c8514203f3cff930a5ae963a /Makefile.am | |
parent | 49658a2112957b2b4874d2a9faccb6e501a0cda5 (diff) |
Replace static ChangeLog with dist-hook to generate from git log
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index ea7ed66..61a3e84 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,8 +35,9 @@ appmandir = $(APP_MAN_DIR) appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) -EXTRA_DIST = $(appman_PRE) +EXTRA_DIST = $(appman_PRE) ChangeLog CLEANFILES = $(appman_DATA) +MAINTAINERCLEANFILES = ChangeLog SED = sed @@ -61,3 +62,7 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man .man.$(APP_MAN_SUFFIX): sed $(MAN_SUBSTS) < $< > $@ + +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 |