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