[telepathy-doc/master] Separate the example into a receiver and a sender

Davyd Madeley davyd at madeley.id.au
Tue Apr 7 17:39:00 PDT 2009


---
 docs/examples/glib_salut_ft/Makefile.am            |   11 ++++++++---
 .../glib_salut_ft/{example.c => receiver.c}        |    0 
 .../examples/glib_salut_ft/{example.c => sender.c} |    0 
 3 files changed, 8 insertions(+), 3 deletions(-)
 copy docs/examples/glib_salut_ft/{example.c => receiver.c} (100%)
 rename docs/examples/glib_salut_ft/{example.c => sender.c} (100%)

diff --git a/docs/examples/glib_salut_ft/Makefile.am b/docs/examples/glib_salut_ft/Makefile.am
index 409e2b6..21b7640 100644
--- a/docs/examples/glib_salut_ft/Makefile.am
+++ b/docs/examples/glib_salut_ft/Makefile.am
@@ -1,9 +1,14 @@
 INCLUDES = $(TELEPATHY_GLIB_CFLAGS)
 LDADD = $(TELEPATHY_GLIB_LIBS)
 
-noinst_PROGRAMS = example
+noinst_PROGRAMS = \
+	receiver \
+	sender
 
-example_SOURCES = \
-	example.c
+receiver_SOURCES = \
+	receiver.c
+
+sender_SOURCES = \
+	sender.c
 
 include $(top_srcdir)/docs/rsync-dist.make
diff --git a/docs/examples/glib_salut_ft/example.c b/docs/examples/glib_salut_ft/receiver.c
similarity index 100%
copy from docs/examples/glib_salut_ft/example.c
copy to docs/examples/glib_salut_ft/receiver.c
diff --git a/docs/examples/glib_salut_ft/example.c b/docs/examples/glib_salut_ft/sender.c
similarity index 100%
rename from docs/examples/glib_salut_ft/example.c
rename to docs/examples/glib_salut_ft/sender.c
-- 
1.5.6.5




More information about the telepathy-commits mailing list