telepathy-gabble: Make the installed file generation depend on Makefile

Sjoerd Simons sjoerd at kemper.freedesktop.org
Tue Sep 11 02:59:56 PDT 2012


Module: telepathy-gabble
Branch: master
Commit: 204fa429bbe263d0f88540957b613572f002259c
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=204fa429bbe263d0f88540957b613572f002259c

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 50b7920..9948eec 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -443,13 +443,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" \
@@ -465,7 +465,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" $< > $@
@@ -473,7 +473,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