summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin-Éric Racine <q-funk@iki.fi>2007-09-02 12:54:30 +0300
committerMartin-Eric Racine <q-funk@yonix.lan>2007-09-02 12:54:30 +0300
commit1d1b3005a741b04331fecb1453a0c5c6381518a7 (patch)
tree5b54b72d2377cf26094a2b92c9f790dbfcb4fe43
parentf159ec89c2e1fd33a52d8f0375233c5fb06bc6f0 (diff)
Added the standard X.org ChangeLog generation target to Makefile.am
-rw-r--r--Makefile.am11
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