diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2007-04-24 22:04:09 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@cortez.herrb.com> | 2007-04-24 22:04:09 +0200 |
commit | aabd047545359c82eb0035f8aa77864b362e7f0e (patch) | |
tree | 236bd80e669780ba4c14c08bc65fc180d6733afb /Makefile.am | |
parent | 821d4603d701efcb09fcbdd246d6f7d9c3a24f28 (diff) |
Add rules to generate ChangeLog.
(this file was missed in a previous commit - sorry).
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 6c2b150..f77a22e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,7 +60,8 @@ appmandir = $(APP_MAN_DIR) appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) EXTRA_DIST += $(appman_PRE) -CLEANFILES += $(appman_DATA) +CLEANFILES += $(appman_DATA) ChangeLog +MAINTAINERCLEANFILES = ChangeLog SED = sed @@ -85,3 +86,10 @@ SUFFIXES += .$(APP_MAN_SUFFIX) .man .man.$(APP_MAN_SUFFIX): sed $(MAN_SUBSTS) < $< > $@ + +.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 |