[Telepathy-commits] [telepathy-salut/master] generate tests/twisted/config.py containing PACKAGE_STRING
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu Feb 26 11:20:19 PST 2009
---
configure.ac | 2 ++
tests/twisted/Makefile.am | 6 ++++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index d61cbdf..bea28fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -269,6 +269,8 @@ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],
[ HAVE_CHECK=no ] )
AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
+AC_SUBST(PACKAGE_STRING)
+
AC_OUTPUT( Makefile \
docs/Makefile \
lib/Makefile \
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index 2e72f3c..005a5b6 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -77,6 +77,11 @@ check-twisted:
exit 1;\
fi
+config.py:
+ echo "PACKAGE_STRING = \"$(PACKAGE_STRING)\"" > config.py
+
+BUILT_SOURCES = config.py
+
EXTRA_DIST = \
$(TWISTED_AVAHI_TESTS) \
$(TWISTED_BASIC_TESTS) \
@@ -84,6 +89,7 @@ EXTRA_DIST = \
saluttest.py \
servicetest.py \
trivialstream.py \
+ config.py \
avahi/file_transfer_helper.py
CLEANFILES = salut-[1-9]*.log *.pyc */*.pyc
--
1.5.6.5
More information about the telepathy-commits
mailing list