[telepathy-mission-control-5.12] telepathy-mission-control: tools/Makefile. am: be careful not to create empty files in the builddir

Simon McVittie smcv at kemper.freedesktop.org
Thu Sep 6 10:18:06 PDT 2012


Module: telepathy-mission-control
Branch: telepathy-mission-control-5.12
Commit: dd0eb39c5da72f5f0fae9bfc28072b001044b7bd
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=dd0eb39c5da72f5f0fae9bfc28072b001044b7bd

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Sep  6 18:05:24 2012 +0100

tools/Makefile.am: be careful not to create empty files in the builddir

"make distcheck" in an already-out-of-tree build turns out not to
work because of this.

This corresponds to commit beb2d971 in telepathy-glib.

---

 tools/Makefile.am |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index 40a06c4..7426080 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -23,15 +23,15 @@ CLEANFILES = libglibcodegen.pyc libglibcodegen.pyo
 all: $(EXTRA_DIST)
 
 libglibcodegen.py: libtpcodegen.py
-	touch $@
+	$(AM_V_GEN)test -e ${srcdir}/$@ && touch ${srcdir}/$@
 glib-client-marshaller-gen.py: libglibcodegen.py
-	touch $@
+	$(AM_V_GEN)test -e ${srcdir}/$@ && touch ${srcdir}/$@
 glib-ginterface-gen.py: libglibcodegen.py
-	touch $@
+	$(AM_V_GEN)test -e ${srcdir}/$@ && touch ${srcdir}/$@
 glib-gtypes-generator.py: libglibcodegen.py
-	touch $@
+	$(AM_V_GEN)test -e ${srcdir}/$@ && touch ${srcdir}/$@
 glib-signals-marshal-gen.py: libglibcodegen.py
-	touch $@
+	$(AM_V_GEN)test -e ${srcdir}/$@ && touch ${srcdir}/$@
 
 TELEPATHY_GLIB_SRCDIR = $(top_srcdir)/../telepathy-glib
 maintainer-update-from-telepathy-glib:



More information about the telepathy-commits mailing list