gnome-control-center/capplets/theme-switcher/Makefile.am
Thomas Wood 3a4bd9578d Move gtkrc-utils from capplets/theme-switcher to capplets/common.
2007-03-04  Thomas Wood  <thos@gnome.org>

	* Makefile.am:
	* gtkrc-utils.c: (gtkrc_get_details):
	* gtkrc-utils.h:
	Move gtkrc-utils from capplets/theme-switcher to capplets/common.

	* gnome-theme-info.c: (gnome_theme_read_meta_theme): Search the gtkrc for
	the colour scheme if none was found in the metatheme file. Fixes a problem
	when comparing two metathemes which only differ by the colour scheme setting.


svn path=/trunk/; revision=7356
2007-03-04 17:17:47 +00:00

66 lines
1.7 KiB
Makefile

# This is used in GNOMECC_CAPPLETS_CFLAGS
cappletname = theme
bin_PROGRAMS = gnome-theme-manager
pixmapdir = $(pkgdatadir)/pixmaps
pixmap_DATA = \
theme-thumbnailing.png
gnome_theme_manager_LDADD = \
$(GNOMECC_CAPPLETS_LIBS) \
$(METACITY_LIBS) \
$(top_builddir)/libwindow-settings/libgnome-window-settings.la \
$(top_builddir)/capplets/common/libcommon.la
gnome_theme_manager_SOURCES = \
gnome-theme-save.c \
gnome-theme-save.h \
gnome-theme-manager.c \
gnome-theme-manager.h \
gnome-theme-details.c \
gnome-theme-details.h \
gnome-theme-installer.c \
gnome-theme-installer.h
gnome_theme_manager_LDFLAGS = -export-dynamic
@INTLTOOL_DESKTOP_RULE@
xml_in_files = gnome-theme-package.xml.in
xml_files = $(xml_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)
desktopdir = $(datadir)/applications
Desktop_in_files = gtk-theme-selector.desktop.in \
gnome-theme-installer.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
gladedir = $(pkgdatadir)/glade
glade_DATA = theme-properties.glade
INCLUDES = \
-I$(top_srcdir) \
$(METACITY_CFLAGS) \
$(GNOMECC_CAPPLETS_CFLAGS) \
-DGLADEDIR=\""$(gladedir)"\" \
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) $(Desktop_in_files) $(desktop_DATA) $(xml_files)
EXTRA_DIST = $(glade_DATA) gnome-theme-save-data.c $(pixmap_DATA) $(xml_in_files)
install-data-hook:
if ENABLE_UPDATE_MIMEDB
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif
uninstall-hook:
if ENABLE_UPDATE_MIMEDB
$(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
endif