diff options
author | Martin-Éric Racine <q-funk@iki.fi> | 2007-09-02 12:54:30 +0300 |
---|---|---|
committer | Martin-Eric Racine <q-funk@yonix.lan> | 2007-09-02 12:54:30 +0300 |
commit | 1d1b3005a741b04331fecb1453a0c5c6381518a7 (patch) | |
tree | 5b54b72d2377cf26094a2b92c9f790dbfcb4fe43 /Makefile.am | |
parent | f159ec89c2e1fd33a52d8f0375233c5fb06bc6f0 (diff) |
Added the standard X.org ChangeLog generation target to Makefile.am
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 16f4412..7c754ad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,3 +20,14 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src + +EXTRA_DIST = autogen.sh ChangeLog + +CLEANFILES = 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 |