~ubuntu-branches/ubuntu/oneiric/rhythmbox/oneiric

« back to all changes in this revision

Viewing changes to data/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-06-26 19:06:10 UTC
  • mto: (2.1.1 lenny) (1.1.37 upstream)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20060626190610-08x8lgvvfs0gr619
Tags: upstream-0.9.5
ImportĀ upstreamĀ versionĀ 0.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
SUBDIRS = ui glade art
4
4
 
5
5
@INTLTOOL_XML_RULE@
6
 
@INTLTOOL_SERVER_RULE@
7
6
@INTLTOOL_DESKTOP_RULE@
8
7
 
9
 
pkgconfigdir = $(libdir)/pkgconfig
10
 
pkgconfig_DATA = rhythmbox.pc
11
 
 
12
 
server_in_files = GNOME_Rhythmbox.server.in
13
 
server_DATA = GNOME_Rhythmbox.server
14
 
serverdir = $(libdir)/bonobo/servers
15
 
 
16
8
Multimediadir = $(datadir)/applications
17
9
Multimedia_in_files = rhythmbox.desktop.in
18
10
Multimedia_DATA = $(Multimedia_in_files:.desktop.in=.desktop)
19
11
 
20
12
appicon_DATA = rhythmbox.png
21
 
appicondir = $(datadir)/pixmaps
 
13
appicondir = $(datadir)/icons/hicolor/48x48/apps
22
14
 
23
15
schemadir = @GCONF_SCHEMA_FILE_DIR@
24
16
schema_DATA = rhythmbox.schemas
56
48
        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA);
57
49
endif
58
50
 
59
 
EXTRA_DIST = $(server_in_files)     \
60
 
             $(service_in_files)    \
 
51
# Rule to update the icon cache after installing the icon
 
52
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
53
install-data-hook:
 
54
        @-if test -z "$(DESTDIR)"; then \
 
55
                echo "Updating Gtk icon cache."; \
 
56
                $(gtk_update_icon_cache); \
 
57
        else \
 
58
                echo "*** Icon cache not updated.  After install, run this:"; \
 
59
                echo "***   $(gtk_update_icon_cache)"; \
 
60
        fi
 
61
 
 
62
EXTRA_DIST = $(service_in_files)    \
61
63
             $(appicon_DATA)        \
62
64
             $(Multimedia_in_files) \
63
65
             $(applications_DATA)   \
66
68
             $(playlists_in_files)  \
67
69
                generate-keys.sh
68
70
 
69
 
CLEANFILES = rhythmbox.desktop rhythmbox.keys GNOME_Rhythmbox.server org.gnome.Rhythmbox.service playlists.xml
 
71
CLEANFILES = rhythmbox.desktop rhythmbox.keys org.gnome.Rhythmbox.service playlists.xml