From 2a1aa4e0c0d6c702ff7c7ed09c1069dce73f339a Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Sun, 9 Mar 2008 10:51:48 +0000 Subject: [PATCH] Rename examples to tests Real clients won't have the xml available, so calling these "examples" is not appropriate. --- .gitignore | 2 +- Makefile.am | 2 +- configure.ac | 2 +- {examples => tests}/Makefile.am | 8 ++++---- {examples => tests}/enroll.c | 0 examples/demo.c => tests/verify.c | 0 6 files changed, 7 insertions(+), 7 deletions(-) rename {examples => tests}/Makefile.am (77%) rename {examples => tests}/enroll.c (100%) rename examples/demo.c => tests/verify.c (100%) diff --git a/.gitignore b/.gitignore index 980b6fa..b23597f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ config.status .deps client-bindings.h *-dbus-glue.h -demo +verify enroll *.o fprintd diff --git a/Makefile.am b/Makefile.am index eefc401..34a4a3d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ AUTOMAKE_OPTIONS = dist-bzip2 -SUBDIRS = src examples +SUBDIRS = src tests EXTRA_DIST = TODO diff --git a/configure.ac b/configure.ac index 530742c..d25df8c 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,6 @@ CFLAGS="$saved_cflags" AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow" AC_SUBST(AM_CFLAGS) -AC_CONFIG_FILES([Makefile] [src/Makefile] [examples/Makefile]) +AC_CONFIG_FILES([Makefile] [src/Makefile] [tests/Makefile]) AC_OUTPUT diff --git a/examples/Makefile.am b/tests/Makefile.am similarity index 77% rename from examples/Makefile.am rename to tests/Makefile.am index 87ba388..cdf5c89 100644 --- a/examples/Makefile.am +++ b/tests/Makefile.am @@ -2,11 +2,11 @@ BUILT_SOURCES = manager-dbus-glue.h device-dbus-glue.h noinst_HEADERS = $(BUILT_SOURCES) CLEANFILES = $(BUILT_SOURCES) -bin_PROGRAMS = demo enroll +bin_PROGRAMS = verify enroll -demo_SOURCES = demo.c -demo_CFLAGS = $(AM_CFLAGS) $(DBUS_GLIB_CFLAGS) -demo_LDADD = $(DBUS_GLIB_LIBS) +verify_SOURCES = verify.c +verify_CFLAGS = $(AM_CFLAGS) $(DBUS_GLIB_CFLAGS) +verify_LDADD = $(DBUS_GLIB_LIBS) enroll_SOURCES = enroll.c enroll_CFLAGS = $(AM_CFLAGS) $(DBUS_GLIB_CFLAGS) diff --git a/examples/enroll.c b/tests/enroll.c similarity index 100% rename from examples/enroll.c rename to tests/enroll.c diff --git a/examples/demo.c b/tests/verify.c similarity index 100% rename from examples/demo.c rename to tests/verify.c