Blame Makefile.am

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