Leave .ihx files in the build directory too - easier to debug that way
[fw/altos] / Makefile.am
index 5341ab33bdce86bafc31b178fd3d1420bd8cedc1..39e7c2446130cce0c7ba0874c3c00fd8c49b6951 100644 (file)
@@ -1 +1,13 @@
-SUBDIRS=lib ccload s51 ccmanual
+SUBDIRS=src 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