summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-10 14:34:24 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-12 16:08:30 +0100
commite5f8a8211107a57d617865a1a74605430ad63ecb (patch)
tree3429ae9ea2bc90a00de2ddaece9b9beefe3bd043 /examples
parent87323d2c4db3a87c55d00d35039c0b74ff66ed2c (diff)
downloadtelepathy-glib-e5f8a8211107a57d617865a1a74605430ad63ecb.tar.gz
Optionally install most of the Python examples
We already optionally install many of the C examples. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48504 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'examples')
-rw-r--r--examples/client/python/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/client/python/Makefile.am b/examples/client/python/Makefile.am
index 01b9e69a5..037719093 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)