summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2018-09-18 11:25:17 +0100
committerSimon McVittie <smcv@collabora.com>2018-10-03 16:14:29 +0100
commitc1e14895c28cdcad1aad153433d103c3377e76ea (patch)
tree3ba82082a24ac0920281d48cffaa3a2e59498b3c
parent40c74f5700fe498fcfd50e5af046c294c080a3b0 (diff)
downloaddbus-glib-c1e14895c28cdcad1aad153433d103c3377e76ea.tar.gz
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 <smcv@collabora.com>
-rw-r--r--Makefile.am18
-rw-r--r--configure.ac2
2 files changed, 1 insertions, 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)