X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile.am;h=e1ee30a38832eb62558b69c69f6c6784114fe236;hp=5341ab33bdce86bafc31b178fd3d1420bd8cedc1;hb=c3314dae2d3df82e188daf6ba8520cce833592c6;hpb=6eeee64cf16ccc9218dbdde5426f25bda5e3407f diff --git a/Makefile.am b/Makefile.am index 5341ab33..e1ee30a3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,19 @@ -SUBDIRS=lib ccload s51 ccmanual +SUBDIRS=src doc 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