Import ibus-anthy projiect.
[platform/upstream/ibus-hangul.git] / Makefile.am
1 # vim:set noet ts=4:
2 #
3 # ibus-anthy - The Anthy engine for IBus
4 #
5 # Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com>
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11 #
12 # This program 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 General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21 SUBDIRS = \
22         engine \
23         icons \
24         m4 \
25         po \
26         $(NULL)
27
28 ACLOCAL_AMFLAGS = -I m4
29
30 EXTRA_DIST = \
31         autogen.sh \
32         ibus-anthy.spec.in \
33         $(NULL)
34
35 noinst_DIST = \
36         $(NULL)
37
38
39 DISTCLEANFILES = \
40         po/stamp-it \
41         $(NULL)
42
43 rpm: dist ibus-anthy.spec
44         rpmbuild -bb                                            \
45                         --define "_sourcedir `pwd`" \
46                         --define "_builddir `pwd`"      \
47                         --define "_srcrpmdir `pwd`" \
48                         --define "_rpmdir `pwd`"        \
49                         --define "_specdir `pwd`"       \
50                         @PACKAGE_NAME@.spec
51 clean-rpm:
52         $(RM) -r "`uname -i`"
53
54 clean-local: clean-rpm