sugar-toolkit-gtk3/data/Makefile.am

43 lines
933 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
sugar_DATA = \
activities.defaults \
mime.defaults \
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 ENABLE_UPDATE_MIMEDB
if [ -z "$$DESTDIR" ]; then \
update-mime-database "$(datadir)/mime"; \
fi
endif
uninstall-hook:
if ENABLE_UPDATE_MIMEDB
if [ -z "$$DESTDIR" ]; then \
update-mime-database "$(datadir)/mime"; \
fi
endif
EXTRA_DIST = $(sugar_DATA) $(mime_xml_in_files) em.py gtkrc.em
CLEANFILES = $(GTKRC_FILES) $(mime_xml_files)