sugar-toolkit-gtk3/data/Makefile.am

37 lines
813 B
Makefile
Raw Normal View History

sugar.gtkrc: gtkrc.em
2007-05-11 12:33:14 +02:00
$(srcdir)/em.py -D theme=\'sugar\' $(srcdir)/gtkrc.em > \
$(top_builddir)/data/sugar.gtkrc
sugar-xo.gtkrc: gtkrc.em
2007-05-11 12:33:14 +02:00
$(srcdir)/em.py -D theme=\'sugar-xo\' $(srcdir)/gtkrc.em > \
$(top_builddir)/data/sugar-xo.gtkrc
sugardir = $(pkgdatadir)/data
2007-04-07 15:43:29 +02:00
sugar_DATA = \
2007-05-21 12:46:32 +02:00
$(GTKRC_FILES)
GTKRC_FILES = \
sugar.gtkrc \
sugar-xo.gtkrc
mime_xml_in_files = sugar.xml.in
mime_xml_files = $(mime_xml_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
mimedir = $(datadir)/mime/packages
mime_DATA = $(mime_xml_files)
install-data-hook:
if [ -z "$$DESTDIR" ]; then \
update-mime-database "$(datadir)/mime"; \
fi
uninstall-hook:
if [ -z "$$DESTDIR" ]; then \
update-mime-database "$(datadir)/mime"; \
fi
EXTRA_DIST = $(sugar_DATA) $(mime_xml_in_files) em.py gtkrc.em
CLEANFILES = $(GTKRC_FILES)