5 # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
6 # Copyright (c) 2007-2010 Red Hat, Inc.
8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2 of the License, or (at your option) any later version.
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU Lesser General Public License for more details.
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this program; if not, write to the
20 # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 # Boston, MA 02111-1307 USA
38 ACLOCAL_AMFLAGS = -I m4
40 pkgconfigdir = $(libdir)/pkgconfig
41 pkgconfig_DATA = ibus-1.0.pc
46 # xinitrcdir = $(sysconfdir)/X11/xinit/xinitrc.d
64 $(MKDIR_P) $(DESTDIR)${pkgdatadir}/engine
66 DISTCHECK_CONFIGURE_FLAGS = \
68 --disable-schemas-install \
72 if test -d .git ; then \
73 git log --name-status --date=iso > $(distdir)/ChangeLog ; \
76 rpm: dist @PACKAGE_NAME@.spec
78 --define "_sourcedir `pwd`" \
79 --define "_builddir `pwd`/rpm" \
80 --define "_srcrpmdir `pwd`/rpm" \
81 --define "_rpmdir `pwd`"/rpm \
82 --define "_specdir `pwd`/rpm" \
85 srpm: dist @PACKAGE_NAME@.spec
87 --define "_sourcedir `pwd`" \
88 --define "_builddir `pwd`/rpm" \
89 --define "_srcrpmdir `pwd`/rpm" \
90 --define "_rpmdir `pwd`/rpm" \
91 --define "_specdir `pwd`/rpm" \
97 clean-local: clean-rpm
100 git tag @PACKAGE_VERSION@