summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-10-03 18:21:15 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-10-03 18:21:15 -0700
commit46fea537186aa57d803262bf5f504f7041a7d97e (patch)
treedc5d023f4bf6a424d2e61cdc8765c80309c92399
parentf97db135e818ea04735e1fbbaea2e7d3dac9c872 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 1ebc23a..2df13e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -104,7 +104,7 @@ appman_PRE = xdm.man.cpp
appman_DATA = $(appman_PRE:man.cpp=@APP_MAN_SUFFIX@)
CLEANFILES = $(appman_DATA)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog
include $(top_srcdir)/cpprules.in
@@ -175,3 +175,11 @@ lint:
$(LINT) $(ALL_LINT_FLAGS) $(chooser_CFLAGS) $(chooser_SOURCES) $(chooser_LDADD)
(cd greeter && $(MAKE) $(AM_MAKEFLAGS) lint)
endif LINT
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ git-log > ChangeLog
+
+dist-hook: ChangeLog
+