diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..773303c --- /dev/null +++ b/Makefile.am @@ -0,0 +1,58 @@ +if ENABLE_JPEG +jpeg_DIRS = jpegutils +endif + +SUBDIRS = $(jpeg_DIRS) cut-n-paste bindings src plugins po help data doc + +EXTRA_DIST = \ + HACKING \ + MAINTAINERS \ + ChangeLog-2.6 \ + ChangeLog-2.18 \ + ChangeLog.pre-git \ + mate-doc-utils.make + +DISTCLEANFILES = \ + intltool-extract \ + intltool-merge \ + intltool-update \ + mate-doc-utils.make + +DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install --disable-scrollkeeper --enable-gtk-doc + +# Ignore scrollkeeper issues for now. @#*$& scrollkeeper +distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper | grep -v /share/mate/help/ | grep -v \.omf + +MAINTAINERCLEANFILES = \ + $(srcdir)/aclocal.m4 \ + $(srcdir)/config.guess \ + $(srcdir)/config.h.in \ + $(srcdir)/config.sub \ + $(srcdir)/depcomp \ + $(srcdir)/gtk-doc.make \ + $(srcdir)/install-sh \ + $(srcdir)/ltmain.sh \ + $(srcdir)/missing \ + $(srcdir)/mkinstalldirs \ + $(srcdir)/omf.make \ + $(srcdir)/xmldocs.make + +-include $(top_srcdir)/git.mk + +# This is the last commit before the ChangeLog was converted +CHANGELOG_START = 6a7944721e667a5c2d87e841917d850aea885019 + +dist-hook: + @if test -d "$(srcdir)/.git"; \ + then \ + echo Creating ChangeLog && \ + ( cd "$(top_srcdir)" && \ + echo '# Generated by Makefile. Do not edit.'; echo; \ + $(top_srcdir)/missing --run git log -M -C --stat \ + $(CHANGELOG_START)..) > ChangeLog.tmp \ + && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ + || ( rm -f ChangeLog.tmp ; \ + echo Failed to generate ChangeLog >&2 ); \ + else \ + echo A git clone is required to generate a ChangeLog >&2; \ + fi |