X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile.am;h=264e577a060853ee76d50cf1f84e07df5da5ecb7;hp=11b0b700e0b59bfce565f6c3e287fa55738a76ae;hb=f1892b137b1de3d6caf0293bd40ed5c3e4948066;hpb=4c4093c3fdd309123fdd068c0e1ff4947104492d diff --git a/Makefile.am b/Makefile.am index 11b0b700..264e577a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,18 @@ -SUBDIRS=lib ccload s51 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