1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
SUBDIRS = ui icons
@INTLTOOL_XML_RULE@
@INTLTOOL_DESKTOP_RULE@
Multimediadir = $(datadir)/applications
Multimedia_in_files = rhythmbox.desktop.in rhythmbox-device.desktop.in
Multimedia_DATA = $(Multimedia_in_files:.desktop.in=.desktop)
playlists_in_files = playlists.xml.in
playlists_DATA = playlists.xml
playlistsdir = $(datadir)/rhythmbox
man_MANS = rhythmbox.1 rhythmbox-client.1
profilesdir = $(datadir)/rhythmbox
profiles_DATA = rhythmbox.gep
# GSettings schemas
# (summaries and descriptions are not translated, so no .xml.in)
gsettings_SCHEMAS = org.gnome.rhythmbox.gschema.xml
@GSETTINGS_RULES@
# compile schemas for running from the source tree
gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid)
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. .
all-local: gschemas.compiled
# Dbus service file
servicedir = $(datadir)/dbus-1/services
service_in_files = org.gnome.Rhythmbox3.service.in
service_DATA = $(service_in_files:.service.in=.service)
# Rule to make the service file with bindir expanded
$(service_DATA): $(service_in_files) Makefile
@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
# Rule to update the icon cache after installing the icon
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
EXTRA_DIST = $(service_in_files) \
$(gsettings_SCHEMAS) \
$(man_MANS) \
$(playlists_in_files) \
$(profiles_DATA) \
rhythmbox.desktop.in.in \
rhythmbox-device.desktop.in.in
CLEANFILES = \
rhythmbox.desktop \
rhythmbox-device.desktop \
org.gnome.Rhythmbox3.service \
playlists.xml \
rhythmbox.desktop.in \
rhythmbox-device.desktop.in \
gschemas.compiled
|