root/trunk/notification-daemon/data/Makefile.am

Revision 3021 (checked in by chipx86, 2 months ago)

Added the new icons.

Line 
1 icon16dir = $(datadir)/icons/hicolor/16x16/apps
2 icon22dir = $(datadir)/icons/hicolor/22x22/apps
3 icon24dir = $(datadir)/icons/hicolor/24x24/apps
4 icon32dir = $(datadir)/icons/hicolor/32x32/apps
5 icon48dir = $(datadir)/icons/hicolor/48x48/apps
6 iconscalabledir = $(datadir)/icons/hicolor/scalable/apps
7
8 icon16_DATA = icons/16x16/notification-properties.png
9 icon22_DATA = icons/22x22/notification-properties.png
10 icon24_DATA = icons/24x24/notification-properties.png
11 icon32_DATA = icons/32x32/notification-properties.png
12 icon48_DATA = icons/48x48/notification-properties.png
13 iconscalable_DATA = icons/scalable/notification-properties.svg
14
15
16 servicedir   = $(DBUS_SERVICES_DIR)
17 service_DATA = org.freedesktop.Notifications.service
18
19 schemasdir       = $(GCONF_SCHEMA_FILE_DIR)
20 schemas_in_files = notification-daemon.schemas.in
21 schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
22
23 @INTLTOOL_SCHEMAS_RULE@
24
25 if GCONF_SCHEMAS_INSTALL
26 install-data-local:
27     GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA)
28 else
29 install-data-local:
30 endif
31
32 EXTRA_DIST = \
33     $(schemas_in_files) \
34     $(service_DATA) \
35     $(icon16_DATA) \
36     $(icon22_DATA) \
37     $(icon24_DATA) \
38     $(icon32_DATA) \
39     $(icon48_DATA) \
40     $(iconscalable_DATA)
41
42 CLEANFILES = $(schemas_DATA)
43
44
45 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
46
47 install-data-hook: update-icon-cache
48 uninstall-hook: update-icon-cache
49 update-icon-cache:
50     @-if test -z "$(DESTDIR)"; then \
51         echo "Updating Gtk icon cache."; \
52         $(gtk_update_icon_cache); \
53     else \
54         echo "*** Icon cache not updated.  After (un)install, run this:"; \
55         echo "***   $(gtk_update_icon_cache)"; \
56     fi
Note: See TracBrowser for help on using the browser.