diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tests/twisted/Makefile.am | 15 |
2 files changed, 15 insertions, 1 deletions
@@ -34,6 +34,7 @@ tags /tests/haze-testing.log /tests/org.freedesktop.Telepathy.ConnectionManager.haze.service /tests/tmp-session-bus.conf +/tests/twisted/config.py /telepathy-haze*.tar.gz* /telepathy-haze*/ diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am index 3f89664..ddf31ae 100644 --- a/tests/twisted/Makefile.am +++ b/tests/twisted/Makefile.am @@ -43,4 +43,17 @@ EXTRA_DIST = \ servicetest.py \ ns.py -CLEANFILES = *.pyc */*.pyc +if MEDIA_ENABLED +MEDIA_ENABLED_PYBOOL = True +else +MEDIA_ENABLED_PYBOOL = False +endif + +config.py: Makefile + $(AM_V_GEN) { \ + echo "MEDIA_ENABLED = $(MEDIA_ENABLED_PYBOOL)"; \ + } > $@ + +BUILT_SOURCES = config.py + +CLEANFILES = *.pyc */*.pyc config.py |