Add ibus launcher program.
[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         daemon \
24         gconf \
25         ibus \
26         launcher \
27         panel \
28         engine \
29         gtk2 \
30         qt4 \
31         icons \
32         m4 \
33         po \
34         $(NULL)
35
36 ACLOCAL_AMFLAGS = -I m4
37
38
39 EXTRA_DIST = \
40         autogen.sh \
41         ibus.spec.in \
42         python-config.py \
43         $(NULL)
44
45 noinst_DIST = \
46         $(NULL)
47
48
49 DISTCLEANFILES = \
50         po/stamp-it \
51         $(NULL)
52
53 rpm: dist @PACKAGE_NAME@.spec
54         rpmbuild -bb \
55                         --define "_sourcedir `pwd`" \
56                         --define "_builddir `pwd`" \
57                         --define "_srcrpmdir `pwd`" \
58                         --define "_rpmdir `pwd`" \
59                         --define "_specdir `pwd`" \
60                         @PACKAGE_NAME@.spec
61
62 srpm: dist @PACKAGE_NAME@.spec
63         rpmbuild -bs \
64                         --define "_sourcedir `pwd`" \
65                         --define "_builddir `pwd`" \
66                         --define "_srcrpmdir `pwd`" \
67                         --define "_rpmdir `pwd`" \
68                         --define "_specdir `pwd`" \
69                         @PACKAGE_NAME@.spec
70
71 clean-rpm:
72         $(RM) -r "`uname -i`"
73
74 clean-local: clean-rpm