From c1e14895c28cdcad1aad153433d103c3377e76ea Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 18 Sep 2018 11:25:17 +0100 Subject: build: Stop including ChangeLog in source tarballs It accounts for a significant proportion of the size of the whole source tree, and the git history is more useful. Signed-off-by: Simon McVittie --- Makefile.am | 18 ------------------ configure.ac | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/Makefile.am b/Makefile.am index c55c6fb..f48b641 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,25 +18,7 @@ EXTRA_DIST = \ # Creating ChangeLog from git log: -MAINTAINERCLEANFILES = ChangeLog - DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-checks --enable-tests -EXTRA_DIST += ChangeLog - -ChangeLog: -$(srcdir)/ChangeLog: - @if test -d "$(srcdir)/.git"; then \ - (cd "$(srcdir)" && \ - ./missing --run git log --stat) | fmt --split-only > $@.tmp \ - && mv -f $@.tmp $@ \ - || ($(RM) $@.tmp; \ - echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ - (test -f $@ || echo git-log is required to generate this file >> $@)); \ - else \ - test -f $@ || \ - (echo A git checkout and git log are required to generate ChangeLog >&2 && \ - echo A git checkout and git-log are required to generate this file >> $@); \ - fi %.tar.gz.asc: %.tar.gz $(AM_V_GEN)gpg --detach-sign --armor $@ diff --git a/configure.ac b/configure.ac index 30bbe19..b57b0d0 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_INIT([dbus-glib], [0.111], AC_CANONICAL_HOST -AM_INIT_AUTOMAKE([1.9 subdir-objects]) +AM_INIT_AUTOMAKE([1.9 foreign subdir-objects]) AC_CONFIG_HEADERS(config.h) -- cgit v1.2.1