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
43 ACLOCAL_AMFLAGS = -I m4
45 pkgconfigdir = $(libdir)/pkgconfig
46 pkgconfig_DATA = ibus-1.0.pc
51 # xinitrcdir = $(sysconfdir)/X11/xinit/xinitrc.d
69 $(MKDIR_P) $(DESTDIR)${pkgdatadir}/engine
71 DISTCHECK_CONFIGURE_FLAGS = \
73 --disable-schemas-install \
77 if test -d .git ; then \
78 git log --name-status --date=iso > $(distdir)/ChangeLog ; \
81 rpm: dist @PACKAGE_NAME@.spec
83 --define "_sourcedir `pwd`" \
84 --define "_builddir `pwd`/rpm" \
85 --define "_srcrpmdir `pwd`/rpm" \
86 --define "_rpmdir `pwd`"/rpm \
87 --define "_specdir `pwd`/rpm" \
90 srpm: dist @PACKAGE_NAME@.spec
92 --define "_sourcedir `pwd`" \
93 --define "_builddir `pwd`/rpm" \
94 --define "_srcrpmdir `pwd`/rpm" \
95 --define "_rpmdir `pwd`/rpm" \
96 --define "_specdir `pwd`/rpm" \
100 $(RM) -r "`uname -i`"
102 clean-local: clean-rpm
105 git tag @PACKAGE_VERSION@