X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;h=18845551f00cf15e616b46b4963dab3ff6f8ffe7;hb=3a80545d4ecedc4b98a9ee8296ab6abbbf64312d;hp=5341ab33bdce86bafc31b178fd3d1420bd8cedc1;hpb=6eeee64cf16ccc9218dbdde5426f25bda5e3407f;p=fw%2Faltos diff --git a/Makefile.am b/Makefile.am index 5341ab33..18845551 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,19 @@ -SUBDIRS=lib ccload s51 ccmanual +SUBDIRS=src doc altoslib 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 doc && $(MAKE) all + cd altosui/libaltos && $(MAKE) all + cd altosui && $(MAKE) fat