X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;h=59cddb9f68e4376f9ca2a2b6d9c4dbb096d44a90;hb=b5c988fb59c1e48baa81b56be9b7b4ab0eebabea;hp=ee3d29246d2b70c6af8627ab0de03d5ac171748b;hpb=5221dc63cf3a059a32aca2bfa7828c215be814a1;p=fw%2Faltos diff --git a/Makefile.am b/Makefile.am index ee3d2924..59cddb9f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,22 @@ -SUBDIRS=lib ccload s51 ccmanual ccdump +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