X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile.am;h=264e577a060853ee76d50cf1f84e07df5da5ecb7;hp=71aee9803f45d3085f53d737ff75012a197be75d;hb=71c41eadd12c3ece5fffce7669e4991778046d4e;hpb=9025eb792861930e6af918d2727c4f5d97a69936 diff --git a/Makefile.am b/Makefile.am index 71aee980..264e577a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,18 @@ -SUBDIRS=lib ccload target/blink +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 + +fat: + cd src && $(MAKE) all + cd ao-tools/libaltos && $(MAKE) all + cd ao-tools/altosui && $(MAKE) fat