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