[next] telepathy-glib: Revert "Copy contact-list. c into the ${builddir} so the XInclude in the docs works"

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed Sep 25 12:50:24 PDT 2013


Module: telepathy-glib
Branch: next
Commit: 87f0171800e33938012457f3c38fbd9cf70ae03c
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=87f0171800e33938012457f3c38fbd9cf70ae03c

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Sep 24 15:45:25 2013 +0100

Revert "Copy contact-list.c into the ${builddir} so the XInclude in the docs works"

This reverts commit ff26814b44720336cdcb298ddf45aea2edcfae0a.
It has a race condition which *sometimes* breaks distcheck :-(

---

 examples/client/Makefile.am |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/examples/client/Makefile.am b/examples/client/Makefile.am
index 32fa27d..99ea4d6 100644
--- a/examples/client/Makefile.am
+++ b/examples/client/Makefile.am
@@ -66,24 +66,3 @@ AM_CFLAGS = $(ERROR_CFLAGS)
 AM_LDFLAGS = \
     $(ERROR_LDFLAGS) \
     $(NULL)
-
-# These files are copied into the ${builddir}, if different, because
-# the documentation includes them via XInclude, and gtk-doc looks
-# in the builddir for such files.
-copy_to_builddir = \
-    contact-list.c \
-    $(NULL)
-
-# the chmod here is to avoid the copy in the builddir picking up the
-# read-only status of the original in the srcdir, during distcheck
-all-local:
-	${AM_V_at}set -e && \
-	if test -n "${srcdir}" && test "x${srcdir}" != x.; then \
-		for x in ${copy_to_builddir}; do \
-			rm -f "$$x"; \
-			cp "${srcdir}/$$x" "$$x"; \
-			chmod 0644 "$$x"; \
-		done; \
-	fi
-
-CLEANFILES = ${copy_to_builddir}



More information about the telepathy-commits mailing list