summaryrefslogtreecommitdiff
path: root/examples/C
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-04-20 19:13:17 -0500
committerDan Williams <dcbw@redhat.com>2011-04-20 19:14:03 -0500
commit4812fef794a3343e8190ab82aa9bc07036155338 (patch)
treebe898a1bad930d8855e640c16f34d403ea4218fb /examples/C
parente30287aa84c30454b97f630d86029cdd68086ead (diff)
examples: rename an example
Diffstat (limited to 'examples/C')
-rw-r--r--examples/C/Makefile.am8
-rw-r--r--examples/C/get-active-connections-dbus-glib.c (renamed from examples/C/get-active-connections.c)2
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/C/Makefile.am b/examples/C/Makefile.am
index 684a1fa1..5dda3051 100644
--- a/examples/C/Makefile.am
+++ b/examples/C/Makefile.am
@@ -9,7 +9,7 @@ AM_CPPFLAGS = \
noinst_PROGRAMS = \
add-connection-dbus-glib \
add-connection-libnm-glib \
- get-active-connections \
+ get-active-connections-dbus-glib \
list-connections-dbus \
list-connections-libnm-glib \
get-ap-info-libnm-glib
@@ -27,8 +27,8 @@ add_connection_libnm_glib_LDADD = \
$(DBUS_LIBS) \
$(GLIB_LIBS)
-get_active_connections_SOURCES = get-active-connections.c
-get_active_connections_LDADD = \
+get_active_connections_dbus_glib_SOURCES = get-active-connections-dbus-glib.c
+get_active_connections_dbus_glib_LDADD = \
$(top_builddir)/libnm-util/libnm-util.la \
$(DBUS_LIBS) \
$(GLIB_LIBS)
@@ -56,7 +56,7 @@ get_ap_info_libnm_glib_LDADD = \
EXTRA_DIST = \
add-connection-dbus-glib.c \
add-connection-libnm-glib.c \
- get-active-connections.c \
+ get-active-connections-dbus-glib.c \
list-connections-dbus.c \
list-connections-libnm-glib.c \
get-ap-info-libnm-glib.c
diff --git a/examples/C/get-active-connections.c b/examples/C/get-active-connections-dbus-glib.c
index 36224d29..f27c44fb 100644
--- a/examples/C/get-active-connections.c
+++ b/examples/C/get-active-connections-dbus-glib.c
@@ -23,7 +23,7 @@
* dbus-glib and libnm-util libraries.
*
* Compile with:
- * gcc -Wall `pkg-config --libs --cflags glib-2.0 dbus-glib-1 libnm-util` get-active-connections.c -o get-active-connections
+ * gcc -Wall `pkg-config --libs --cflags glib-2.0 dbus-glib-1 libnm-util` get-active-connections-dbus-glib.c -o get-active-connections-dbus-glib
*/
#include <glib.h>