WIP move all conf components into conf dir
authorPeng Huang <shawn.p.huang@gmail.com>
Sat, 17 Dec 2011 20:20:29 +0000 (15:20 -0500)
committerPeng Huang <shawn.p.huang@gmail.com>
Tue, 21 Feb 2012 16:51:51 +0000 (11:51 -0500)
18 files changed:
Makefile.am
conf/Makefile.am [new file with mode: 0644]
conf/dconf/Makefile.am [moved from dconf/Makefile.am with 100% similarity]
conf/dconf/config.c [moved from dconf/config.c with 100% similarity]
conf/dconf/config.h [moved from dconf/config.h with 100% similarity]
conf/dconf/dconf.xml.in.in [moved from dconf/dconf.xml.in.in with 100% similarity]
conf/dconf/main.c [moved from dconf/main.c with 100% similarity]
conf/gconf/Makefile.am [moved from gconf/Makefile.am with 100% similarity]
conf/gconf/config.c [moved from gconf/config.c with 100% similarity]
conf/gconf/config.h [moved from gconf/config.h with 100% similarity]
conf/gconf/gconf.xml.in.in [moved from gconf/gconf.xml.in.in with 100% similarity]
conf/gconf/main.c [moved from gconf/main.c with 100% similarity]
conf/memconf/Makefile.am [moved from memconf/Makefile.am with 100% similarity]
conf/memconf/config.c [moved from memconf/config.c with 100% similarity]
conf/memconf/config.h [moved from memconf/config.h with 100% similarity]
conf/memconf/main.c [moved from memconf/main.c with 100% similarity]
conf/memconf/memconf.xml.in.in [moved from memconf/memconf.xml.in.in with 100% similarity]
configure.ac

index ce478cf..b384c0d 100644 (file)
@@ -33,33 +33,16 @@ PYTHON_DIRS = \
        $(NULL)
 endif
 
-if ENABLE_GCONF
-GCONF_DIR = \
-       gconf \
-       $(NULL)
-endif
-
 if ENABLE_DAEMON
 DAEMON_DIR = \
        bus \
        $(NULL)
 endif
 
-if ENABLE_MEMCONF
-MEMCONF_DIR = \
-       memconf \
-       $(NULL)
-endif
-
-if ENABLE_DCONF
-DCONF_DIR = \
-       dconf \
-       $(NULL)
-endif
-
 SUBDIRS = \
        src \
        util \
+       conf \
        client \
        engine \
        tools \
@@ -70,9 +53,6 @@ SUBDIRS = \
        bindings \
        $(UI_DIR) \
        $(DAEMON_DIR) \
-       $(GCONF_DIR) \
-       $(MEMCONF_DIR) \
-       $(DCONF_DIR) \
        $(PYTHON_DIRS) \
        $(NULL)
 
diff --git a/conf/Makefile.am b/conf/Makefile.am
new file mode 100644 (file)
index 0000000..86127b2
--- /dev/null
@@ -0,0 +1,47 @@
+# vim:set noet ts=4:
+#
+# ibus - The Input Bus
+#
+# Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
+# Copyright (c) 2007-2010 Red Hat, Inc.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+# Boston, MA  02111-1307  USA
+
+if ENABLE_GCONF
+GCONF_DIR = \
+       gconf \
+       $(NULL)
+endif
+
+if ENABLE_MEMCONF
+MEMCONF_DIR = \
+       memconf \
+       $(NULL)
+endif
+
+if ENABLE_DCONF
+DCONF_DIR = \
+       dconf \
+       $(NULL)
+endif
+
+SUBDIRS = \
+       $(DCONF_DIR) \
+       $(GCONF_DIR) \
+       $(MEMCONF_DIR) \
+       $(NULL)
+
+-include $(top_srcdir)/git.mk
similarity index 100%
rename from dconf/Makefile.am
rename to conf/dconf/Makefile.am
similarity index 100%
rename from dconf/config.c
rename to conf/dconf/config.c
similarity index 100%
rename from dconf/config.h
rename to conf/dconf/config.h
similarity index 100%
rename from dconf/main.c
rename to conf/dconf/main.c
similarity index 100%
rename from gconf/Makefile.am
rename to conf/gconf/Makefile.am
similarity index 100%
rename from gconf/config.c
rename to conf/gconf/config.c
similarity index 100%
rename from gconf/config.h
rename to conf/gconf/config.h
similarity index 100%
rename from gconf/main.c
rename to conf/gconf/main.c
similarity index 100%
rename from memconf/Makefile.am
rename to conf/memconf/Makefile.am
similarity index 100%
rename from memconf/config.c
rename to conf/memconf/config.c
similarity index 100%
rename from memconf/config.h
rename to conf/memconf/config.h
similarity index 100%
rename from memconf/main.c
rename to conf/memconf/main.c
index c8fd274..fa189a7 100644 (file)
@@ -446,8 +446,6 @@ Makefile
 ibus-1.0.pc
 ibus.spec
 xinput-ibus
-memconf/Makefile
-memconf/memconf.xml.in
 client/Makefile
 client/gtk2/Makefile
 client/gtk3/Makefile
@@ -479,12 +477,15 @@ ui/gtk2/gtkpanel.xml.in
 ui/gtk3/Makefile
 setup/Makefile
 setup/ibus-setup
-gconf/Makefile
-gconf/gconf.xml.in
 bindings/Makefile
 bindings/vala/Makefile
-dconf/Makefile
-dconf/dconf.xml.in
+conf/Makefile
+conf/gconf/Makefile
+conf/gconf/gconf.xml.in
+conf/dconf/Makefile
+conf/dconf/dconf.xml.in
+conf/memconf/Makefile
+conf/memconf/memconf.xml.in
 tools/Makefile
 ])