2007-02-03 17:18:29 +00:00
|
|
|
# This is used in GNOMECC_CAPPLETS_CFLAGS
|
|
|
|
cappletname = display
|
|
|
|
|
2008-06-17 23:52:37 +00:00
|
|
|
gladedir = $(pkgdatadir)/glade
|
|
|
|
dist_glade_DATA = display-capplet.glade
|
|
|
|
|
2003-04-23 15:01:16 +00:00
|
|
|
bin_PROGRAMS = gnome-display-properties
|
|
|
|
|
2008-06-17 23:52:37 +00:00
|
|
|
gnome_display_properties_SOURCES = \
|
|
|
|
xrandr-capplet.c \
|
|
|
|
scrollarea.c \
|
|
|
|
foo-marshal.c \
|
|
|
|
scrollarea.h \
|
|
|
|
foo-marshal.h
|
|
|
|
|
2003-04-23 15:01:16 +00:00
|
|
|
gnome_display_properties_LDFLAGS = -export-dynamic
|
2007-06-29 20:05:33 +00:00
|
|
|
gnome_display_properties_LDADD = \
|
|
|
|
$(DISPLAY_CAPPLET_LIBS) \
|
|
|
|
$(top_builddir)/capplets/common/libcommon.la
|
2003-04-23 15:01:16 +00:00
|
|
|
|
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
|
2007-06-29 20:05:33 +00:00
|
|
|
icons16dir = $(datadir)/icons/hicolor/16x16/apps
|
|
|
|
dist_icons16_DATA = icons/16x16/gnome-display-properties.png
|
|
|
|
icons22dir = $(datadir)/icons/hicolor/22x22/apps
|
|
|
|
dist_icons22_DATA = icons/22x22/gnome-display-properties.png
|
|
|
|
icons24dir = $(datadir)/icons/hicolor/24x24/apps
|
|
|
|
dist_icons24_DATA = icons/24x24/gnome-display-properties.png
|
|
|
|
icons32dir = $(datadir)/icons/hicolor/32x32/apps
|
|
|
|
dist_icons32_DATA = icons/32x32/gnome-display-properties.png
|
|
|
|
iconssvgdir = $(datadir)/icons/hicolor/scalable/apps
|
|
|
|
dist_iconssvg_DATA = icons/scalable/gnome-display-properties.svg
|
2003-04-23 15:01:16 +00:00
|
|
|
|
2004-11-09 17:43:47 +00:00
|
|
|
desktopdir = $(datadir)/applications
|
2003-04-23 15:01:16 +00:00
|
|
|
Desktop_in_files = display-properties.desktop.in
|
|
|
|
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
|
|
|
|
|
2007-06-29 20:05:33 +00:00
|
|
|
INCLUDES = $(DISPLAY_CAPPLET_CFLAGS) \
|
2003-04-23 15:01:16 +00:00
|
|
|
$(GNOMECC_CAPPLETS_CFLAGS) \
|
2007-06-29 20:05:33 +00:00
|
|
|
-DGLADEDIR="\"$(gladedir)\"" \
|
2007-01-31 21:09:43 +00:00
|
|
|
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
|
2007-02-02 18:12:40 +00:00
|
|
|
-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""
|
2003-04-23 15:01:16 +00:00
|
|
|
|
2004-11-28 08:14:05 +00:00
|
|
|
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) $(Desktop_in_files) $(desktop_DATA)
|
2007-06-26 23:29:58 +00:00
|
|
|
|
|
|
|
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
|
|
|
|
install-data-hook: update-icon-cache
|
|
|
|
uninstall-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 (un)install, run this:"; \
|
|
|
|
echo "*** $(gtk_update_icon_cache)"; \
|
|
|
|
fi
|