Update translations
[platform/upstream/ibus-hangul.git] / Makefile.am
1 # vim:set noet ts=4:
2 #
3 # ibus-hangul - The Hangul 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         src \
23         setup \
24         icons \
25         m4 \
26         po \
27         $(NULL)
28
29 ACLOCAL_AMFLAGS = -I m4
30
31 EXTRA_DIST = \
32         autogen.sh \
33         ibus-hangul.spec.in \
34         $(NULL)
35
36 noinst_DIST = \
37         $(NULL)
38
39
40 DISTCLEANFILES = \
41         po/stamp-it \
42         $(NULL)
43
44 rpm: dist @PACKAGE_NAME@.spec
45         rpmbuild -bb \
46                         --define "_sourcedir `pwd`" \
47                         --define "_builddir `pwd`" \
48                         --define "_srcrpmdir `pwd`" \
49                         --define "_rpmdir `pwd`" \
50                         --define "_specdir `pwd`" \
51                         @PACKAGE_NAME@.spec
52
53 srpm: dist @PACKAGE_NAME@.spec
54         rpmbuild -bs \
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 clean-rpm:
63         $(RM) -r "`uname -i`"
64
65 clean-local: clean-rpm