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