X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile.am;h=2c412bf97157f9b1dde1880a3856c849a6f772a4;hp=8a061ab74dadf02c172ec9b21bf938e2a45cb9d2;hb=b372f3c0ee4ec49aabe61c169cb1eb9bb4fb2cfc;hpb=e63b5271bb54afc36e4b9891e51e053ff6011092 diff --git a/Makefile.am b/Makefile.am index 8a061ab7..2c412bf9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,18 @@ -SUBDIRS=lib ccload s51 ccmanual 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 ao-tools/libaltos && $(MAKE) all + cd ao-tools/altosui && $(MAKE) fat