[evolution-data-server/documentation-effort: 9/18] Migrated tests/cursor-example -> examples/cursor



commit b347e51c426258883a82827b233fb1877a2ec738
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Sat Nov 30 21:01:40 2013 +0900

    Migrated tests/cursor-example -> examples/cursor
    
    As a part of the documentation effort, I thought it a good idea
    to create a specific directory for examples.

 Makefile.am                                        |    4 ++++
 configure.ac                                       |    3 ++-
 examples/Makefile.am                               |    1 +
 .../cursor-example => examples/cursor}/Makefile.am |    0
 .../cursor}/cursor-data.c                          |    0
 .../cursor}/cursor-data.h                          |    0
 .../cursor}/cursor-example.c                       |    0
 .../cursor}/cursor-example.gresources.xml          |    0
 .../cursor}/cursor-example.h                       |    0
 .../cursor}/cursor-example.ui                      |    0
 .../cursor}/cursor-navigator.c                     |    0
 .../cursor}/cursor-navigator.h                     |    0
 .../cursor}/cursor-search.c                        |    0
 .../cursor}/cursor-search.h                        |    0
 .../cursor}/cursor-search.ui                       |    0
 .../cursor}/cursor-slot.c                          |    0
 .../cursor}/cursor-slot.h                          |    0
 .../cursor}/cursor-slot.ui                         |    0
 {tests/cursor-example => examples/cursor}/main.c   |    0
 tests/Makefile.am                                  |    4 ----
 20 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 66bb725..93df215 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,6 +25,10 @@ SUBDIRS = \
        po \
        $(NULL)
 
+if BUILD_EXAMPLES
+SUBDIRS += examples
+endif
+
 if HAVE_INTROSPECTION
 if HAVE_VALA
 SUBDIRS += vala
diff --git a/configure.ac b/configure.ac
index 445de97..7d94f37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1796,7 +1796,8 @@ tests/test-server-utils/services/Makefile
 tests/test-server-utils/services/org.gnome.evolution.dataserver.AddressBook.service
 tests/test-server-utils/services/org.gnome.evolution.dataserver.Calendar.service
 tests/test-server-utils/services/org.gnome.evolution.dataserver.Sources.service
-tests/cursor-example/Makefile
+examples/Makefile
+examples/cursor/Makefile
 docs/Makefile
 docs/reference/Makefile
 docs/reference/addressbook/Makefile
diff --git a/examples/Makefile.am b/examples/Makefile.am
new file mode 100644
index 0000000..cacd1ba
--- /dev/null
+++ b/examples/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = cursor
diff --git a/tests/cursor-example/Makefile.am b/examples/cursor/Makefile.am
similarity index 100%
rename from tests/cursor-example/Makefile.am
rename to examples/cursor/Makefile.am
diff --git a/tests/cursor-example/cursor-data.c b/examples/cursor/cursor-data.c
similarity index 100%
rename from tests/cursor-example/cursor-data.c
rename to examples/cursor/cursor-data.c
diff --git a/tests/cursor-example/cursor-data.h b/examples/cursor/cursor-data.h
similarity index 100%
rename from tests/cursor-example/cursor-data.h
rename to examples/cursor/cursor-data.h
diff --git a/tests/cursor-example/cursor-example.c b/examples/cursor/cursor-example.c
similarity index 100%
rename from tests/cursor-example/cursor-example.c
rename to examples/cursor/cursor-example.c
diff --git a/tests/cursor-example/cursor-example.gresources.xml 
b/examples/cursor/cursor-example.gresources.xml
similarity index 100%
rename from tests/cursor-example/cursor-example.gresources.xml
rename to examples/cursor/cursor-example.gresources.xml
diff --git a/tests/cursor-example/cursor-example.h b/examples/cursor/cursor-example.h
similarity index 100%
rename from tests/cursor-example/cursor-example.h
rename to examples/cursor/cursor-example.h
diff --git a/tests/cursor-example/cursor-example.ui b/examples/cursor/cursor-example.ui
similarity index 100%
rename from tests/cursor-example/cursor-example.ui
rename to examples/cursor/cursor-example.ui
diff --git a/tests/cursor-example/cursor-navigator.c b/examples/cursor/cursor-navigator.c
similarity index 100%
rename from tests/cursor-example/cursor-navigator.c
rename to examples/cursor/cursor-navigator.c
diff --git a/tests/cursor-example/cursor-navigator.h b/examples/cursor/cursor-navigator.h
similarity index 100%
rename from tests/cursor-example/cursor-navigator.h
rename to examples/cursor/cursor-navigator.h
diff --git a/tests/cursor-example/cursor-search.c b/examples/cursor/cursor-search.c
similarity index 100%
rename from tests/cursor-example/cursor-search.c
rename to examples/cursor/cursor-search.c
diff --git a/tests/cursor-example/cursor-search.h b/examples/cursor/cursor-search.h
similarity index 100%
rename from tests/cursor-example/cursor-search.h
rename to examples/cursor/cursor-search.h
diff --git a/tests/cursor-example/cursor-search.ui b/examples/cursor/cursor-search.ui
similarity index 100%
rename from tests/cursor-example/cursor-search.ui
rename to examples/cursor/cursor-search.ui
diff --git a/tests/cursor-example/cursor-slot.c b/examples/cursor/cursor-slot.c
similarity index 100%
rename from tests/cursor-example/cursor-slot.c
rename to examples/cursor/cursor-slot.c
diff --git a/tests/cursor-example/cursor-slot.h b/examples/cursor/cursor-slot.h
similarity index 100%
rename from tests/cursor-example/cursor-slot.h
rename to examples/cursor/cursor-slot.h
diff --git a/tests/cursor-example/cursor-slot.ui b/examples/cursor/cursor-slot.ui
similarity index 100%
rename from tests/cursor-example/cursor-slot.ui
rename to examples/cursor/cursor-slot.ui
diff --git a/tests/cursor-example/main.c b/examples/cursor/main.c
similarity index 100%
rename from tests/cursor-example/main.c
rename to examples/cursor/main.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5196e41..7e2369b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -9,10 +9,6 @@ SUBDIRS = \
        libedata-cal \
        $(NULL)
 
-if BUILD_EXAMPLES
-SUBDIRS += cursor-example
-endif
-
 @GNOME_CODE_COVERAGE_RULES@
 
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]