telepathy-gabble: Make the installed file generation depend on Makefile
Simon McVittie
smcv at kemper.freedesktop.org
Tue Sep 11 04:26:46 PDT 2012
Module: telepathy-gabble
Branch: master
Commit: e3aae2b2143c8b851e5814f6711aff75d4a1d197
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=e3aae2b2143c8b851e5814f6711aff75d4a1d197
Author: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
Date: Tue Sep 11 10:30:36 2012 +0200
Make the installed file generation depend on Makefile
Make the rules for generating files part of the installed tests depend on
the Makefile such that it gets regenerated after runing configure with
a different prefix
---
tests/twisted/Makefile.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index bf7552c..ba5dcad 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -446,13 +446,13 @@ include $(top_srcdir)/tools/check-coding-style.mk
gabble-twisted-tests.list:
$(AM_V_GEN)echo $(TWISTED_TESTS) > $@
-run-test.sh: run-test.sh.in
+run-test.sh: run-test.sh.in Makefile
$(AM_V_GEN)sed -e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" \
-e "s|[@]PYTHON[@]|$(PYTHON)|g" \
$< > $@
@chmod +x $@
-tools/run-gabble.sh: tools/run-gabble.sh.in
+tools/run-gabble.sh: tools/run-gabble.sh.in Makefile
@mkdir -p tools
$(AM_V_GEN)sed \
-e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" \
@@ -468,7 +468,7 @@ tools/exec-with-log.sh: tools/exec-with-log.sh.in
@chmod +x $@
# The wildcard % matches both config files!
-tools/%.conf: tools/%.conf.in
+tools/%.conf: tools/%.conf.in Makefile
$(MKDIR_P) tools
$(AM_V_GEN)sed -e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" \
-e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" $< > $@
@@ -476,7 +476,7 @@ tools/%.conf: tools/%.conf.in
# We don't use the full filename for the .in because > 99 character filenames
# in tarballs are non-portable (and automake 1.8 doesn't let us build
# non-archaic tarballs)
-tools/servicedir/org.freedesktop.Telepathy.ConnectionManager.%.service: tools/servicedir/%.service.in
+tools/servicedir/org.freedesktop.Telepathy.ConnectionManager.%.service: tools/servicedir/%.service.in Makefile
$(MKDIR_P) tools/servicedir
$(AM_V_GEN)sed -e "s|[@]gabbletestsdir[@]|@gabbletestsdir@|g" $< > $@
More information about the telepathy-commits
mailing list