]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- moved C++ examples to subdir
authorArvin Schnell <aschnell@suse.de>
Mon, 24 Jun 2013 15:57:21 +0000 (17:57 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 24 Jun 2013 15:57:21 +0000 (17:57 +0200)
13 files changed:
configure.ac
examples/Makefile.am
examples/c++-lib/.gitignore [moved from examples/.gitignore with 100% similarity]
examples/c++-lib/CmpDirs.cc [moved from examples/CmpDirs.cc with 100% similarity]
examples/c++-lib/Create.cc [moved from examples/Create.cc with 100% similarity]
examples/c++-lib/CreateTimeline.cc [moved from examples/CreateTimeline.cc with 100% similarity]
examples/c++-lib/List.cc [moved from examples/List.cc with 100% similarity]
examples/c++-lib/ListAll.cc [moved from examples/ListAll.cc with 100% similarity]
examples/c++-lib/Makefile.am [new file with mode: 0644]
examples/c++-lib/SnapTest.cc [moved from examples/SnapTest.cc with 100% similarity]
examples/c/.gitignore [moved from examples/C/.gitignore with 100% similarity]
examples/c/Makefile.am [moved from examples/C/Makefile.am with 79% similarity]
examples/c/snapper_dbus_cli.c [moved from examples/C/snapper_dbus_cli.c with 100% similarity]

index b4a5e72a2d49ede97a423e682d3ac228f2ec5866..b66c4d1bbdb978654a1e82d14943926bd03138a0 100644 (file)
@@ -123,7 +123,8 @@ AC_OUTPUT(
        Makefile
        snapper/Makefile
        examples/Makefile
-       examples/C/Makefile
+       examples/c/Makefile
+       examples/c++-lib/Makefile
        dbus/Makefile
        server/Makefile
        client/Makefile
index 526c1852ce68c0c1f53fd6bed7cebd8bbdf9d149..54d259bbb85accaed40a18fb5167f562760893c1 100644 (file)
@@ -2,23 +2,5 @@
 # Makefile.am for snapper/examples
 #
 
-SUBDIRS = C
-
-INCLUDES = -I$(top_srcdir)
-
-LDADD = ../snapper/libsnapper.la
-
-noinst_PROGRAMS = List ListAll Create CmpDirs CreateTimeline SnapTest
-
-List_SOURCES = List.cc
-
-ListAll_SOURCES = ListAll.cc
-
-Create_SOURCES = Create.cc
-
-CmpDirs_SOURCES = CmpDirs.cc
-
-CreateTimeline_SOURCES = CreateTimeline.cc
-
-SnapTest_SOURCES = SnapTest.cc
+SUBDIRS = c c++-lib
 
similarity index 100%
rename from examples/List.cc
rename to examples/c++-lib/List.cc
diff --git a/examples/c++-lib/Makefile.am b/examples/c++-lib/Makefile.am
new file mode 100644 (file)
index 0000000..a33cd11
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# Makefile.am for snapper/examples/c++-lib
+#
+
+INCLUDES = -I$(top_srcdir)
+
+LDADD = ../../snapper/libsnapper.la
+
+noinst_PROGRAMS = List ListAll Create CmpDirs CreateTimeline SnapTest
+
+List_SOURCES = List.cc
+
+ListAll_SOURCES = ListAll.cc
+
+Create_SOURCES = Create.cc
+
+CmpDirs_SOURCES = CmpDirs.cc
+
+CreateTimeline_SOURCES = CreateTimeline.cc
+
+SnapTest_SOURCES = SnapTest.cc
+
similarity index 100%
rename from examples/C/.gitignore
rename to examples/c/.gitignore
similarity index 79%
rename from examples/C/Makefile.am
rename to examples/c/Makefile.am
index b60d0c3dcaa800e3b2ca64225a116bda22818ac7..3b9d6b0c2f03b86f23040e109bcbb26c75958182 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Makefile.am for snapper/examples/C
+# Makefile.am for snapper/examples/c
 #
 
 INCLUDES = -I$(top_srcdir) $(DBUS_CFLAGS)