2008-07-15 Jens Granseuer <jensgr@gmx.net> * configure.in: add capplets/default-applications/gnome-default-applications.pc to generated files 2008-07-15 Jens Granseuer <jensgr@gmx.net> * Makefile.am: install the default apps list in the default-apps subdirectory * gnome-da-xml.c: (gnome_da_xml_load_list): load everything from there * gnome-default-applications.pc.in: add file so that applications can query where to put their extensions svn path=/trunk/; revision=8783
73 lines
2.5 KiB
Makefile
73 lines
2.5 KiB
Makefile
# This is used in GNOMECC_CAPPLETS_CFLAGS
|
|
cappletname = default-applications
|
|
|
|
bin_PROGRAMS = gnome-default-applications-properties
|
|
|
|
bin_SCRIPTS = gnome-at-visual gnome-at-mobility
|
|
|
|
gnome_default_applications_properties_LDADD = $(GNOMECC_CAPPLETS_LIBS)
|
|
gnome_default_applications_properties_SOURCES = \
|
|
gnome-da-capplet.c gnome-da-capplet.h \
|
|
gnome-da-xml.c gnome-da-xml.h \
|
|
gnome-da-item.c gnome-da-item.h
|
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
gladedir = $(pkgdatadir)/glade
|
|
dist_glade_DATA = gnome-default-applications-properties.glade
|
|
|
|
gnome-at-visual: gnome-at-commandline.in
|
|
cp $< $@
|
|
|
|
gnome-at-mobility: gnome-at-commandline.in
|
|
cp $< $@
|
|
|
|
desktopdir = $(datadir)/applications
|
|
Desktop_in_files = default-applications.desktop.in
|
|
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
|
|
|
|
pkgconfigdir = $(datadir)/pkgconfig
|
|
pkgconfig_DATA = gnome-default-applications.pc
|
|
|
|
autostartdir = $(sysconfdir)/xdg/autostart
|
|
autostart_in_files = gnome-at-session.desktop.in
|
|
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
|
|
|
|
xmldata_in_files = gnome-default-applications.xml.in
|
|
xmldatadir = $(pkgdatadir)/default-apps
|
|
xmldata_DATA = $(xmldata_in_files:.xml.in=.xml)
|
|
@INTLTOOL_XML_RULE@
|
|
|
|
INCLUDES = \
|
|
$(GNOMECC_CAPPLETS_CFLAGS) \
|
|
$(DEFAULT_APPLICATIONS_CAPPLET_CFLAGS) \
|
|
-DGNOMELOCALEDIR=\""$(datadir)/locale"\"\
|
|
-DGNOMECC_GLADE_DIR=\""$(gladedir)"\" \
|
|
-DGNOMECC_APPS_DIR=\""$(xmldatadir)"\"
|
|
|
|
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
|
|
|
|
|
|
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) $(Desktop_in_files) $(desktop_DATA) $(xmldata_DATA) $(autostart_DATA) $(bin_SCRIPTS)
|
|
EXTRA_DIST = $(xmldata_in_files) gnome-default-applications.pc.in
|