X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=Makefile.am;h=cdea16bd4b2ab20c20072f9e12e70be9568c168b;hb=d1392836d0081f8dc358c1f34b1f6845e1296f4a;hp=609c9c07a9b9fb2f103c965030591223d0a1f404;hpb=223164c0429f47a8c0aba31662ea1c835dd706d6;p=emu8051.git diff --git a/Makefile.am b/Makefile.am index 609c9c0..cdea16b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,25 +1,44 @@ ## Makefile.am -- Process this file with automake to produce Makefile.in +.PHONY: changelog + AUTOMAKE_OPTIONS = gnu -SUBDIRS = src doc +SUBDIRS = src/common src/cli src/gtk data doc tests + +## We want these in the dist tarball +EXTRA_DIST = pixmaps -EXTRA_DIST = autogen.sh \ - $(ac_aux_dir)/debug.m4 \ - $(ac_aux_dir)/gtk2.m4 \ - pixmaps \ - test_files +ACLOCAL_AMFLAGS = -I m4 -ACLOCAL = aclocal -I $(ac_aux_dir) +LIBTOOL_MACROS = \ + m4/libtool.m4 \ + m4/ltoptions.m4 \ + m4/ltsugar.m4 \ + m4/ltversion.m4 \ + m4/lt~obsolete.m4 CLEANFILES = *~ DISTCLEANFILES = .deps/*.P -MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in stamp-h.in \ - $(ac_aux_dir)/depcomp $(ac_aux_dir)/install-sh $(ac_aux_dir)/missing \ +MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \ + stamp-h.in ChangeLog $(ac_aux_dir)/depcomp \ + $(ac_aux_dir)/install-sh $(ac_aux_dir)/missing \ $(ac_aux_dir)/mkinstalldirs $(ac_aux_dir)/config.guess \ - $(ac_aux_dir)/config.sub $(ac_aux_dir)/ltmain.sh - - - + $(ac_aux_dir)/config.sub $(ac_aux_dir)/ltmain.sh \ + $(ac_aux_dir)/compile \ + $(ac_aux_dir)/test-driver \ + $(ac_aux_dir)/ar-lib \ + $(ac_aux_dir)/ylwrap \ + $(LIBTOOL_MACROS) + +changelog: + @if test -d $(srcdir)/.git; then \ + $(srcdir)/build-aux/gitlog-to-changelog \ + --format='%s%n%n%b%n' \ + --no-cluster \ + --strip-tab \ + --strip-cherry-pick \ + >ChangeLog; \ + fi