1 ## arch-tag: Automake rules for various data files
6 @INTLTOOL_DESKTOP_RULE@
8 Multimediadir = $(datadir)/applications
9 Multimedia_in_files = rhythmbox.desktop.in
10 Multimedia_DATA = $(Multimedia_in_files:.desktop.in=.desktop)
12 appicon_DATA = rhythmbox.png
13 appicondir = $(datadir)/icons/hicolor/48x48/apps
15 schemadir = @GCONF_SCHEMA_FILE_DIR@
16 schema_DATA = rhythmbox.schemas
20 iradio_DATA = iradio-initial.pls
21 iradiodir = $(datadir)/rhythmbox
23 playlists_in_files = playlists.xml.in
24 playlists_DATA = playlists.xml
25 playlistsdir = $(datadir)/rhythmbox
28 servicedir = $(datadir)/dbus-1/services
29 service_in_files = org.gnome.Rhythmbox.service.in
30 service_DATA = $(service_in_files:.service.in=.service)
32 # Rule to make the service file with bindir expanded
33 $(service_DATA): $(service_in_files) Makefile
34 @sed -e "s|\@bindir\@|$(bindir)|" $< > $@
36 if GCONF_SCHEMAS_INSTALL
37 install-data-local: $(schema_DATA)
38 GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA);
41 # Rule to update the icon cache after installing the icon
42 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
44 @-if test -z "$(DESTDIR)"; then \
45 echo "Updating Gtk icon cache."; \
46 $(gtk_update_icon_cache); \
48 echo "*** Icon cache not updated. After install, run this:"; \
49 echo "*** $(gtk_update_icon_cache)"; \
52 EXTRA_DIST = $(service_in_files) \
56 $(playlists_in_files) \
57 rhythmbox.desktop.in.in
59 CLEANFILES = rhythmbox.desktop org.gnome.Rhythmbox.service playlists.xml rhythmbox.desktop.in