2007-09-24 22:04:45 +02:00
|
|
|
SUBDIRS = icons
|
|
|
|
|
2007-05-11 11:49:12 +02:00
|
|
|
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
|
2007-05-11 11:49:12 +02:00
|
|
|
|
|
|
|
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
|
2007-05-11 11:49:12 +02:00
|
|
|
|
2007-04-15 13:54:53 +02:00
|
|
|
sugardir = $(pkgdatadir)/data
|
2007-09-22 03:37:31 +02:00
|
|
|
sugar_DATA = \
|
|
|
|
activities.defaults \
|
|
|
|
mime.defaults \
|
2007-09-24 21:16:06 +02:00
|
|
|
startup.flac \
|
2007-05-21 12:46:32 +02:00
|
|
|
$(GTKRC_FILES)
|
2007-03-22 20:34:07 +01:00
|
|
|
|
2007-05-11 11:49:12 +02:00
|
|
|
GTKRC_FILES = \
|
|
|
|
sugar.gtkrc \
|
|
|
|
sugar-xo.gtkrc
|
|
|
|
|
2007-08-10 00:29:10 +02:00
|
|
|
|
|
|
|
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:
|
2007-08-13 23:57:05 +02:00
|
|
|
if ENABLE_UPDATE_MIMEDB
|
2007-08-10 00:29:10 +02:00
|
|
|
if [ -z "$$DESTDIR" ]; then \
|
|
|
|
update-mime-database "$(datadir)/mime"; \
|
|
|
|
fi
|
2007-08-13 23:57:05 +02:00
|
|
|
endif
|
2007-08-10 00:29:10 +02:00
|
|
|
|
|
|
|
uninstall-hook:
|
2007-08-13 23:57:05 +02:00
|
|
|
if ENABLE_UPDATE_MIMEDB
|
2007-08-10 00:29:10 +02:00
|
|
|
if [ -z "$$DESTDIR" ]; then \
|
|
|
|
update-mime-database "$(datadir)/mime"; \
|
|
|
|
fi
|
2007-08-13 23:57:05 +02:00
|
|
|
endif
|
2007-08-10 00:29:10 +02:00
|
|
|
|
|
|
|
EXTRA_DIST = $(sugar_DATA) $(mime_xml_in_files) em.py gtkrc.em
|
2007-08-13 23:57:05 +02:00
|
|
|
CLEANFILES = $(GTKRC_FILES) $(mime_xml_files)
|