update changelogs for Debian build
[fw/altos] / Makefile.am
index ee3d29246d2b70c6af8627ab0de03d5ac171748b..96b9dea91d87f110abcc60149ada5d79e1b529f6 100644 (file)
@@ -1 +1,13 @@
-SUBDIRS=lib ccload s51 ccmanual ccdump
+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