Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / Makefile.am
index e5c0c1e83777991dc3f48d4cf4cc379ff86d62f6..96b9dea91d87f110abcc60149ada5d79e1b529f6 100644 (file)
@@ -1 +1,13 @@
-SUBDIRS=src aoview
+SUBDIRS=src ao-view ao-tools ao-utils
+
+EXTRA_DIST = ChangeLog
+
+MAINTAINERCLEANFILES = 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