From f7927eb939d0d5171dd9eff5a537130543c4d512 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 10 Apr 2012 14:34:24 +0100 Subject: [PATCH 2/3] Optionally install most of the Python examples We already optionally install many of the C examples. --- examples/client/python/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/examples/client/python/Makefile.am b/examples/client/python/Makefile.am index 01b9e69..0377190 100644 --- a/examples/client/python/Makefile.am +++ b/examples/client/python/Makefile.am @@ -8,3 +8,23 @@ EXTRA_DIST = \ ft-handler.py \ stream-tubes.py/offerer.py \ stream-tubes.py/accepter.py + +installable_scripts = \ + telepathy-example-python-dialler \ + telepathy-example-python-contact-list \ + telepathy-example-python-ensure-channel \ + telepathy-example-python-file-transfer \ + telepathy-example-python-ft-handler \ + telepathy-example-python-inspect-cm \ + telepathy-example-python-text-handler \ + $(NULL) + +telepathy-example-python-%: %.py + cp $< $@ + chmod +x $@ + +if INSTALL_EXAMPLES +bin_SCRIPTS = $(installable_scripts) +endif + +CLEANFILES = $(installable_scripts) -- 1.7.9.5