Move icons to data/icons. Install schemas.
[platform/upstream/ibus.git] / Makefile.am
1 # vim:set noet ts=4:
2 #
3 # ibus - The Input Bus
4 #
5 # Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com>
6 #
7 # This library is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU Lesser General Public
9 # License as published by the Free Software Foundation; either
10 # version 2 of the License, or (at your option) any later version.
11 #
12 # This library is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU Lesser General Public License for more details.
16 #
17 # You should have received a copy of the GNU Lesser General Public
18 # License along with this program; if not, write to the
19 # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20 # Boston, MA  02111-1307  USA
21
22 SUBDIRS =               \
23         src             \
24         bindings        \
25         gconf           \
26         ibus            \
27         ui                      \
28         util            \
29         client          \
30         setup           \
31         bus             \
32         data            \
33         m4                      \
34         po                      \
35         docs            \
36         $(NULL)
37
38 ACLOCAL_AMFLAGS = -I m4
39
40 pkgconfigdir = $(libdir)/pkgconfig
41 pkgconfig_DATA = ibus-1.0.pc
42
43 # xinitrc_SCRIPTS = \
44 #       ibus.sh \
45 #       $(NULL)
46 # xinitrcdir = $(sysconfdir)/X11/xinit/xinitrc.d
47
48 EXTRA_DIST = \
49         autogen.sh \
50         ibus-1.0.pc.in \
51         ibus.spec.in \
52         python-config.py \
53         ibus.sh \
54         $(NULL)
55
56 noinst_DIST = \
57         $(NULL)
58
59
60 DISTCLEANFILES = \
61         po/stamp-it \
62         $(NULL)
63
64 install-data-hook:
65         $(MKDIR_P) $(DESTDIR)${pkgdatadir}/engine
66
67 DISTCHECK_CONFIGURE_FLAGS = \
68         --enable-pygconf \
69         --enable-gtk-doc \
70         $(NULL)
71
72 rpm: dist @PACKAGE_NAME@.spec
73         rpmbuild -bb \
74                         --define "_sourcedir `pwd`" \
75                         --define "_builddir `pwd`" \
76                         --define "_srcrpmdir `pwd`" \
77                         --define "_rpmdir `pwd`" \
78                         --define "_specdir `pwd`" \
79                         @PACKAGE_NAME@.spec
80
81 srpm: dist @PACKAGE_NAME@.spec
82         rpmbuild -bs \
83                         --define "_sourcedir `pwd`" \
84                         --define "_builddir `pwd`" \
85                         --define "_srcrpmdir `pwd`" \
86                         --define "_rpmdir `pwd`" \
87                         --define "_specdir `pwd`" \
88                         @PACKAGE_NAME@.spec
89
90 clean-rpm:
91         $(RM) -r "`uname -i`"
92
93 clean-local: clean-rpm