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