gtkbuilderdir = $(pkgdatadir)/ui
dist_gtkbuilder_DATA = appearance.ui

pixmapdir = $(pkgdatadir)/pixmaps
dist_pixmap_DATA = \
        subpixel-bgr.png \
        subpixel-rgb.png \
        subpixel-vbgr.png \
        subpixel-vrgb.png \
        theme-thumbnailing.png \
        gtk-theme-thumbnailing.png \
        window-theme-thumbnailing.png \
        icon-theme-thumbnailing.png \
        mouse-cursor-normal.png \
        mouse-cursor-normal-large.png \
        mouse-cursor-white.png \
        mouse-cursor-white-large.png

@INTLTOOL_DESKTOP_RULE@

desktopdir = $(datadir)/applications
desktop_in_files = \
	mate-appearance-properties.desktop.in \
	mate-theme-installer.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)




@INTLTOOL_XML_RULE@

xml_in_files = \
	mate-theme-package.xml.in

mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_in_files:.xml.in=.xml)


install-data-hook:
if ENABLE_UPDATE_MIMEDB
	$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif

uninstall-hook:
if ENABLE_UPDATE_MIMEDB
	$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif

EXTRA_DIST = $(xml_in_files)


CLEANFILES = $(desktop_in_files) $(desktop_DATA) $(mime_DATA)

-include $(top_srcdir)/git.mk