2007-02-03 17:18:29 +00:00
|
|
|
# This is used in GNOMECC_CAPPLETS_CFLAGS
|
|
|
|
cappletname = default-applications
|
|
|
|
|
2002-04-10 06:08:08 +00:00
|
|
|
bin_PROGRAMS = gnome-default-applications-properties
|
2001-12-20 19:45:12 +00:00
|
|
|
|
2007-04-23 15:04:41 +00:00
|
|
|
bin_SCRIPTS = gnome-at-visual gnome-at-mobility
|
|
|
|
|
2002-04-10 06:08:08 +00:00
|
|
|
gnome_default_applications_properties_LDADD = $(GNOMECC_CAPPLETS_LIBS)
|
|
|
|
gnome_default_applications_properties_SOURCES = \
|
2006-01-16 15:13:33 +00:00
|
|
|
gnome-da-capplet.c gnome-da-capplet.h \
|
|
|
|
gnome-da-xml.c gnome-da-xml.h \
|
|
|
|
gnome-da-item.c gnome-da-item.h
|
2001-07-16 18:07:52 +00:00
|
|
|
|
2001-11-10 20:55:08 +00:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
2001-07-26 01:49:13 +00:00
|
|
|
|
2007-07-08 20:09:20 +00:00
|
|
|
gladedir = $(pkgdatadir)/glade
|
|
|
|
dist_glade_DATA = gnome-default-applications-properties.glade
|
2002-01-14 20:24:46 +00:00
|
|
|
|
2007-04-23 15:04:41 +00:00
|
|
|
gnome-at-visual: gnome-at-commandline.in
|
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
gnome-at-mobility: gnome-at-commandline.in
|
|
|
|
cp $< $@
|
|
|
|
|
2004-11-09 17:43:47 +00:00
|
|
|
desktopdir = $(datadir)/applications
|
2007-07-29 17:23:02 +00:00
|
|
|
Desktop_in_files = default-applications.desktop.in
|
2002-01-15 20:45:34 +00:00
|
|
|
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
|
2001-07-18 03:21:07 +00:00
|
|
|
|
2008-07-15 22:03:57 +00:00
|
|
|
pkgconfigdir = $(datadir)/pkgconfig
|
|
|
|
pkgconfig_DATA = gnome-default-applications.pc
|
|
|
|
|
2007-10-02 18:04:50 +00:00
|
|
|
autostartdir = $(sysconfdir)/xdg/autostart
|
2007-04-23 15:04:41 +00:00
|
|
|
autostart_in_files = gnome-at-session.desktop.in
|
|
|
|
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
|
|
|
|
|
2006-01-16 15:13:33 +00:00
|
|
|
xmldata_in_files = gnome-default-applications.xml.in
|
2008-07-15 22:03:57 +00:00
|
|
|
xmldatadir = $(pkgdatadir)/default-apps
|
2006-01-16 15:13:33 +00:00
|
|
|
xmldata_DATA = $(xmldata_in_files:.xml.in=.xml)
|
|
|
|
@INTLTOOL_XML_RULE@
|
|
|
|
|
2006-01-16 17:59:03 +00:00
|
|
|
INCLUDES = \
|
|
|
|
$(GNOMECC_CAPPLETS_CFLAGS) \
|
|
|
|
$(DEFAULT_APPLICATIONS_CAPPLET_CFLAGS) \
|
2007-02-13 22:19:12 +00:00
|
|
|
-DGNOMELOCALEDIR=\""$(datadir)/locale"\"\
|
|
|
|
-DGNOMECC_GLADE_DIR=\""$(gladedir)"\" \
|
2008-07-15 22:03:57 +00:00
|
|
|
-DGNOMECC_APPS_DIR=\""$(xmldatadir)"\"
|
2008-06-15 17:45:40 +00:00
|
|
|
|
|
|
|
icons16dir = $(datadir)/icons/hicolor/16x16/apps
|
|
|
|
dist_icons16_DATA = icons/16x16/gnome-settings-default-applications.png
|
|
|
|
icons22dir = $(datadir)/icons/hicolor/22x22/apps
|
|
|
|
dist_icons22_DATA = icons/22x22/gnome-settings-default-applications.png
|
|
|
|
icons24dir = $(datadir)/icons/hicolor/24x24/apps
|
|
|
|
dist_icons24_DATA = icons/24x24/gnome-settings-default-applications.png
|
|
|
|
icons32dir = $(datadir)/icons/hicolor/32x32/apps
|
|
|
|
dist_icons32_DATA = icons/32x32/gnome-settings-default-applications.png
|
|
|
|
icons48dir = $(datadir)/icons/hicolor/48x48/apps
|
|
|
|
dist_icons48_DATA = icons/48x48/gnome-settings-default-applications.png
|
|
|
|
|
|
|
|
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
|
|
|
|
uninstall-hook: update-icon-cache
|
|
|
|
install-data-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 install, run this:"; \
|
|
|
|
echo "*** $(gtk_update_icon_cache)"; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2007-10-31 14:36:46 +00:00
|
|
|
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) $(Desktop_in_files) $(desktop_DATA) $(xmldata_DATA) $(autostart_DATA) $(bin_SCRIPTS)
|
2008-07-15 22:03:57 +00:00
|
|
|
EXTRA_DIST = $(xmldata_in_files) gnome-default-applications.pc.in
|