X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile.am;h=59cddb9f68e4376f9ca2a2b6d9c4dbb096d44a90;hp=11b0b700e0b59bfce565f6c3e287fa55738a76ae;hb=f64fe671b7b4e2389219d672bcea978d0539d4ae;hpb=4c4093c3fdd309123fdd068c0e1ff4947104492d diff --git a/Makefile.am b/Makefile.am index 11b0b700..59cddb9f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,22 @@ -SUBDIRS=lib ccload s51 target/blink +SUBDIRS=src doc altoslib libaltos altosuilib altosui micropeak ao-tools ao-utils altosdroid + +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 doc && $(MAKE) all + cd libaltos && $(MAKE) all + cd altoslib && $(MAKE) all + cd altosuilib && $(MAKE) all + cd altosui && $(MAKE) fat + cd micropeak && $(MAKE) fat