X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile.am;h=264e577a060853ee76d50cf1f84e07df5da5ecb7;hp=2b76b5d46c7d27c15c99e9cf299f1490d33228a9;hb=67b6952f7126704478ede5575e5e938d18fcc329;hpb=7c790fe859dff062692964338091ffbbcdf63257 diff --git a/Makefile.am b/Makefile.am index 2b76b5d4..264e577a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,18 @@ -SUBDIRS=src ao-view ao-tools ao-utils +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