Blame data/Makefile.am

Packit 3ff832
# vim:set noet ts=4:
Packit 3ff832
#
Packit 3ff832
# ibus - The Input Bus
Packit 3ff832
#
Packit 3ff832
# Copyright (c) 2007-2016 Peng Huang <shawn.p.huang@gmail.com>
Packit 3ff832
# Copyright (c) 2007-2016 Red Hat, Inc.
Packit 3ff832
#
Packit 3ff832
# This library is free software; you can redistribute it and/or
Packit 3ff832
# modify it under the terms of the GNU Lesser General Public
Packit 3ff832
# License as published by the Free Software Foundation; either
Packit 3ff832
# version 2.1 of the License, or (at your option) any later version.
Packit 3ff832
#
Packit 3ff832
# This library is distributed in the hope that it will be useful,
Packit 3ff832
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 3ff832
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 3ff832
# Lesser General Public License for more details.
Packit 3ff832
#
Packit 3ff832
# You should have received a copy of the GNU Lesser General Public
Packit 3ff832
# License along with this library; if not, write to the Free Software
Packit 3ff832
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
Packit 3ff832
# USA
Packit 3ff832
Packit 3ff832
SUBDIRS = \
Packit 3ff832
	annotations \
Packit 3ff832
	icons \
Packit 3ff832
	keymaps \
Packit 3ff832
	$(NULL)
Packit 3ff832
Packit 3ff832
if ENABLE_DCONF
Packit 3ff832
SUBDIRS += dconf
Packit 3ff832
endif
Packit 3ff832
Packit 3ff832
schemasdir = $(GCONF_SCHEMA_FILE_DIR)
Packit 3ff832
schemas_in_files = ibus.schemas.in
Packit 3ff832
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
Packit 3ff832
@INTLTOOL_SCHEMAS_RULE@
Packit 3ff832
Packit 3ff832
install-data-local:
Packit 3ff832
if GCONF_SCHEMAS_INSTALL
Packit 3ff832
	if test -z "$(DESTDIR)" ; then \
Packit 3ff832
		for p in $(schemas_DATA) ; do \
Packit 3ff832
			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
Packit 3ff832
				--makefile-install-rule $(top_builddir)/data/$$p >&1 > /dev/null; \
Packit 3ff832
		done \
Packit 3ff832
	fi
Packit 3ff832
endif
Packit 3ff832
Packit 3ff832
EXTRA_DIST = \
Packit 3ff832
	$(schemas_in_files) \
Packit 3ff832
	$(NULL)
Packit 3ff832
Packit 3ff832
DISTCLEANFILES = \
Packit 3ff832
	$(schemas_DATA) \
Packit 3ff832
	$(NULL)
Packit 3ff832
Packit 3ff832
-include $(top_srcdir)/git.mk