Blame Makefile.am

Packit 42196e
# vim:set noet ts=4
Packit 42196e
#
Packit 42196e
# ibus-typing-booster - A completion input method for IBus
Packit 42196e
#
Packit 42196e
# Copyright (c) 2011-2012 Anish Patil <anish.developer@gmail.com>
Packit 42196e
# Copyright (c) 2012-2018 Mike FABIAN <mfabian@redhat.com>
Packit 42196e
#
Packit 42196e
# This program is free software: you can redistribute it and/or modify
Packit 42196e
# it under the terms of the GNU General Public License as published by
Packit 42196e
# the Free Software Foundation, either version 3 of the License, or
Packit 42196e
# (at your option) any later version.
Packit 42196e
#  This program is distributed in the hope that it will be useful,
Packit 42196e
# but WITHOUT ANY WARRANTY; without even the implied warranty of 
Packit 42196e
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 42196e
# GNU General Public License for more details.
Packit 42196e
#  You should have received a copy of the GNU General Public License 
Packit 42196e
# along with this program.  If not, see <http://www.gnu.org/licenses/>
Packit 42196e
Packit 42196e
DISTCHECK_CONFIGURE_FLAGS = \
Packit 42196e
	$(NULL)
Packit 42196e
Packit 42196e
SUBDIRS = \
Packit 42196e
	engine \
Packit 42196e
	icons \
Packit 42196e
	m4 \
Packit 42196e
	data \
Packit 42196e
	data/annotations \
Packit 42196e
	data/annotationsDerived \
Packit 42196e
	po \
Packit 42196e
	setup \
Packit 42196e
	tests \
Packit 42196e
	$(NULL)
Packit 42196e
Packit 42196e
ACLOCAL_AMFLAGS = -I m4
Packit 42196e
Packit 42196e
# To register as an AppStream component to be visible in the software center
Packit 42196e
# (See http://www.freedesktop.org/software/appstream/docs/ for more details):
Packit 42196e
appdata_DATA = \
Packit 42196e
	typing-booster.appdata.xml \
Packit 42196e
	$(NULL)
Packit 42196e
Packit 42196e
appdatadir = $(datadir)/metainfo
Packit 42196e
Packit 42196e
schemas_DATA = \
Packit 42196e
	org.freedesktop.ibus.engine.typing-booster.gschema.xml
Packit 42196e
	$(NULL)
Packit 42196e
Packit 42196e
schemasdir = $(datadir)/glib-2.0/schemas/
Packit 42196e
Packit 42196e
install-data-hook:
Packit 42196e
	if test -z "$(DESTDIR)"; then \
Packit 42196e
	    glib-compile-schemas $(schemasdir); \
Packit 42196e
	fi
Packit 42196e
Packit 42196e
uninstall-hook:
Packit 42196e
	SCHEMAS_FILES=`ls $(schemasdir)/*.gschema.xml` || true;         \
Packit 42196e
	if test -z "$$SCHEMAS_FILES" &&                                 \
Packit 42196e
	    test -f $(schemasdir)/gschemas.compiled; then               \
Packit 42196e
	    rm $(schemasdir)/gschemas.compiled;                         \
Packit 42196e
	fi
Packit 42196e
Packit 42196e
AUX_DIST = \
Packit 42196e
	config.guess \
Packit 42196e
	config.sub \
Packit 42196e
	install-sh \
Packit 42196e
	missing \
Packit 42196e
	py-compile \
Packit 42196e
	$(NULL)
Packit 42196e
Packit 42196e
MAINTAINERCLEANFILES = \
Packit 42196e
	Makefile.in \
Packit 42196e
	aclocal.m4 \
Packit 42196e
	configure \
Packit 42196e
	$(AUX_DIST) \
Packit 42196e
	$(NULL)
Packit 42196e
Packit 42196e
Packit 42196e
EXTRA_DIST = \
Packit 42196e
	config.rpath \
Packit 42196e
	typing-booster.appdata.xml \
Packit 42196e
	$(schemas_DATA) \
Packit 42196e
	@PACKAGE_NAME@.spec.fedora \
Packit 42196e
	@PACKAGE_NAME@.spec.suse \
Packit 42196e
	$(NULL)
Packit 42196e
Packit 42196e
noinst_DIST = \
Packit 42196e
	$(NULL)
Packit 42196e
Packit 42196e
Packit 42196e
#DISTCLEANFILES = \
Packit 42196e
#	po/stamp-it \
Packit 42196e
#	$(NULL)
Packit 42196e
Packit 42196e
rpm: dist @PACKAGE_NAME@.spec
Packit 42196e
	rpmbuild -bb \
Packit 42196e
			--define "_sourcedir `pwd`" \
Packit 42196e
			--define "_builddir `pwd`" \
Packit 42196e
			--define "_specdir `pwd`" \
Packit 42196e
			--define "_rpmdir `pwd`" \
Packit 42196e
			--define "_srcrpmdir `pwd`" \
Packit 42196e
			@PACKAGE_NAME@.spec
Packit 42196e
Packit 42196e
srpm: dist @PACKAGE_NAME@.spec
Packit 42196e
	rpmbuild -bs \
Packit 42196e
			--define "_sourcedir `pwd`" \
Packit 42196e
			--define "_builddir `pwd`" \
Packit 42196e
			--define "_srcrpmdir `pwd`" \
Packit 42196e
			--define "_rpmdir `pwd`" \
Packit 42196e
			--define "_specdir `pwd`" \
Packit 42196e
			@PACKAGE_NAME@.spec
Packit 42196e
Packit 42196e
clean-rpm:
Packit 42196e
	$(RM) -r "`uname -i`"
Packit 42196e
Packit 42196e
clean-local: clean-rpm