1icon16dir = $(datadir)/icons/hicolor/16x16/apps 2icon22dir = $(datadir)/icons/hicolor/22x22/apps 3icon24dir = $(datadir)/icons/hicolor/24x24/apps 4icon32dir = $(datadir)/icons/hicolor/32x32/apps 5icon48dir = $(datadir)/icons/hicolor/48x48/apps 6iconscalabledir = $(datadir)/icons/hicolor/scalable/apps 7 8icon16_DATA = icons/16x16/mate-notification-properties.png 9icon22_DATA = icons/22x22/mate-notification-properties.png 10icon24_DATA = icons/24x24/mate-notification-properties.png 11icon32_DATA = icons/32x32/mate-notification-properties.png 12icon48_DATA = icons/48x48/mate-notification-properties.png 13iconscalable_DATA = icons/scalable/mate-notification-properties.svg 14 15servicedir = $(DBUS_SERVICES_DIR) 16service_DATA = org.freedesktop.mate.Notifications.service org.mate.panel.applet.MateNotificationAppletFactory.service 17service_in_files = $(service_DATA:=.in) 18 19appletdir = $(datadir)/mate-panel/applets 20applet_DATA = org.mate.applets.MateNotificationApplet.mate-panel-applet 21applet_in_files = $(applet_DATA:.mate-panel-applet=.desktop.in) 22 23$(applet_DATA): $(applet_in_files) 24if USE_NLS 25 $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@ 26else 27 $(AM_V_GEN) cp -f $< $@ 28endif 29 30desktopdir = $(datadir)/applications 31desktop_DATA = mate-notification-properties.desktop 32desktop_in_files = $(desktop_DATA:.desktop=.desktop.in) 33 34$(desktop_DATA): $(desktop_in_files) 35if USE_NLS 36 $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ 37else 38 $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ 39endif 40 41gsettings_SCHEMAS = org.mate.NotificationDaemon.gschema.xml 42gsettingsschema_in_files = $(gsettings_SCHEMAS:=.in) 43@GSETTINGS_RULES@ 44 45EXTRA_DIST = \ 46 $(desktop_in_files) \ 47 $(gsettingsschema_in_files) \ 48 $(icon16_DATA) \ 49 $(icon22_DATA) \ 50 $(icon24_DATA) \ 51 $(icon32_DATA) \ 52 $(icon48_DATA) \ 53 $(iconscalable_DATA) 54 55CLEANFILES = \ 56 $(applet_DATA) \ 57 $(desktop_DATA) \ 58 $(gsettings_SCHEMAS) 59 60DISTCLEANFILES = \ 61 $(applet_in_files) \ 62 $(service_DATA) 63 64gtk_update_icon_cache = $(UPDATE_ICON_CACHE) -f -t $(datadir)/icons/hicolor 65 66install-data-hook: update-icon-cache 67uninstall-hook: update-icon-cache 68update-icon-cache: 69 @-if test -z "$(DESTDIR)" && ICON_UPDATE; then \ 70 echo "Updating Gtk icon cache."; \ 71 $(gtk_update_icon_cache); \ 72 else \ 73 echo "*** Icon cache not updated. After (un)install, run this:"; \ 74 echo "*** $(gtk_update_icon_cache)"; \ 75 fi 76 77-include $(top_srcdir)/git.mk 78