[telepathy-doc/master] Add Makefiles for Python examples
Davyd Madeley
davyd at madeley.id.au
Mon Apr 6 04:27:26 PDT 2009
---
configure.ac | 7 ++++++-
docs/examples/Makefile.am | 7 ++++++-
docs/examples/pygtk_chat_client/Makefile.am | 4 ++++
docs/examples/python_get_parameters/Makefile.am | 2 ++
docs/examples/python_iface_messaging/Makefile.am | 2 ++
docs/examples/python_irc_roomlist/Makefile.am | 2 ++
docs/examples/python_simple_presence/Makefile.am | 2 ++
7 files changed, 24 insertions(+), 2 deletions(-)
create mode 100644 docs/examples/pygtk_chat_client/Makefile.am
create mode 100644 docs/examples/python_get_parameters/Makefile.am
create mode 100644 docs/examples/python_iface_messaging/Makefile.am
create mode 100644 docs/examples/python_irc_roomlist/Makefile.am
create mode 100644 docs/examples/python_simple_presence/Makefile.am
diff --git a/configure.ac b/configure.ac
index 8b9d870..2ea1c1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,8 +14,8 @@ PKG_CHECK_MODULES(TELEPATHY_GLIB, telepathy-glib >= 0.7.3 gtk+-2.0 >= 2.12.0)
AC_SUBST(TELEPATHY_GLIB_CFLAGS)
AC_SUBST(TELEPATHY_GLIB_LIBS)
-# Use C:
AC_PROG_CC()
+AM_PATH_PYTHON()
AC_OUTPUT([
Makefile
@@ -26,6 +26,11 @@ AC_OUTPUT([
docs/examples/glib_list_protocols/Makefile
docs/examples/glib_get_user_defined_groups/Makefile
docs/examples/glib_get_roster/Makefile
+ docs/examples/pygtk_chat_client/Makefile
+ docs/examples/python_get_parameters/Makefile
+ docs/examples/python_iface_messaging/Makefile
+ docs/examples/python_irc_roomlist/Makefile
+ docs/examples/python_simple_presence/Makefile
docs/book/Makefile
])
diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am
index 2369f2a..b38a8b6 100644
--- a/docs/examples/Makefile.am
+++ b/docs/examples/Makefile.am
@@ -3,7 +3,12 @@ include $(top_srcdir)/docs/rsync-properties.make
example_dirs = \
glib_list_protocols \
glib_get_user_defined_groups \
- glib_get_roster
+ glib_get_roster \
+ pygtk_chat_client \
+ python_get_parameters \
+ python_iface_messaging \
+ python_irc_roomlist \
+ python_simple_presence
SUBDIRS = $(example_dirs)
diff --git a/docs/examples/pygtk_chat_client/Makefile.am b/docs/examples/pygtk_chat_client/Makefile.am
new file mode 100644
index 0000000..d1abd0a
--- /dev/null
+++ b/docs/examples/pygtk_chat_client/Makefile.am
@@ -0,0 +1,4 @@
+noinst_PYTHON = \
+ ChatWindow.py \
+ RosterWindow.py \
+ example.py
diff --git a/docs/examples/python_get_parameters/Makefile.am b/docs/examples/python_get_parameters/Makefile.am
new file mode 100644
index 0000000..cd7e793
--- /dev/null
+++ b/docs/examples/python_get_parameters/Makefile.am
@@ -0,0 +1,2 @@
+noinst_PYTHON = \
+ example.py
diff --git a/docs/examples/python_iface_messaging/Makefile.am b/docs/examples/python_iface_messaging/Makefile.am
new file mode 100644
index 0000000..cd7e793
--- /dev/null
+++ b/docs/examples/python_iface_messaging/Makefile.am
@@ -0,0 +1,2 @@
+noinst_PYTHON = \
+ example.py
diff --git a/docs/examples/python_irc_roomlist/Makefile.am b/docs/examples/python_irc_roomlist/Makefile.am
new file mode 100644
index 0000000..cd7e793
--- /dev/null
+++ b/docs/examples/python_irc_roomlist/Makefile.am
@@ -0,0 +1,2 @@
+noinst_PYTHON = \
+ example.py
diff --git a/docs/examples/python_simple_presence/Makefile.am b/docs/examples/python_simple_presence/Makefile.am
new file mode 100644
index 0000000..cd7e793
--- /dev/null
+++ b/docs/examples/python_simple_presence/Makefile.am
@@ -0,0 +1,2 @@
+noinst_PYTHON = \
+ example.py
--
1.5.6.5
More information about the telepathy-commits
mailing list