2001-07-18 03:21:07 +00:00
|
|
|
cappletname = background
|
2001-07-19 02:17:38 +00:00
|
|
|
cappletgroup =
|
2001-09-28 12:30:35 +00:00
|
|
|
bin_PROGRAMS = background-properties-control
|
|
|
|
bin_SCRIPTS = background-properties-capplet
|
2000-09-09 23:21:28 +00:00
|
|
|
|
2001-09-28 12:30:35 +00:00
|
|
|
background_properties_control_LDADD = $(GNOMECC_CAPPLETS_LIBS)
|
2001-07-25 17:26:17 +00:00
|
|
|
|
2001-09-28 12:30:35 +00:00
|
|
|
background_properties_control_SOURCES = \
|
2001-07-25 17:26:17 +00:00
|
|
|
background-properties-capplet.c \
|
2001-07-27 01:43:48 +00:00
|
|
|
preferences.c preferences.h \
|
2001-09-28 12:30:35 +00:00
|
|
|
applier.c applier.h
|
2001-07-25 17:26:17 +00:00
|
|
|
|
|
|
|
DESKTOP_EXEC_LINE = gnomecc --run-capplet background-properties
|
2001-07-27 01:43:48 +00:00
|
|
|
BONOBO_CONF_DEFINE=-DBONOBO_CONF_ENABLE
|
2000-09-09 23:21:28 +00:00
|
|
|
|
2001-07-19 02:17:38 +00:00
|
|
|
pixmap_DATA =
|
|
|
|
|
2001-07-19 21:05:43 +00:00
|
|
|
defaultsdir= $(datadir)/control-center/defaults
|
|
|
|
defaults_DATA = background-properties.xml
|
|
|
|
|
|
|
|
oafdir = $(datadir)/oaf
|
|
|
|
oaf_DATA = Bonobo_Control_Capplet_background_properties.oaf
|
|
|
|
|
2001-07-18 03:21:07 +00:00
|
|
|
##
|
|
|
|
## You should not need to modify anything below this line
|
|
|
|
##
|
|
|
|
@XML_I18N_MERGE_DESKTOP_RULE@
|
2001-07-26 01:49:13 +00:00
|
|
|
|
2001-09-28 12:30:35 +00:00
|
|
|
$(bin_SCRIPTS): $(top_srcdir)/capplets/common/wrapper-script.in
|
|
|
|
sed -e "s#@BINDIR@#$(bindir)#" -e "s#@CAPPLET_NAME@#$(cappletname)-properties#" < $< > $@
|
|
|
|
chmod a+x $@
|
|
|
|
|
2001-10-26 19:17:07 +00:00
|
|
|
$(oaf_DATA): %.oaf: $(top_srcdir)/capplets/common/Bonobo_Control_Capplet_generic.oaf.in
|
|
|
|
sed -e "s#@BINDIR@#$(bindir)#" -e "s#@SHORT_CAPPLET_NAME@#$(cappletname)#" -e "s#@CAPPLET_BINARY_NAME@#$(bin_PROGRAMS)#" < $< > $@
|
2001-10-13 17:26:48 +00:00
|
|
|
|
2001-07-26 01:49:13 +00:00
|
|
|
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
|
|
|
|
$(desktop).in: %.desktop.in: %.desktop.in.in
|
|
|
|
sed -e "s#@DESKTOP_EXEC_LINE@#$(DESKTOP_EXEC_LINE)#" -e "s#Icon=.*#Icon=$(GNOMECC_ICONS_DIR)/${cappletname}-capplet.png#" < $< > ${cappletname}.desktop.in
|
|
|
|
|
|
|
|
install-data-local:
|
2001-08-01 04:02:20 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)/control-center/capplets/$(cappletgroup)
|
|
|
|
$(INSTALL_DATA) $(desktop) $(DESTDIR)$(datadir)/control-center/capplets/$(cappletgroup)$(desktop)
|
2001-07-26 01:49:13 +00:00
|
|
|
|
|
|
|
install-data-am: install-data-local
|
|
|
|
####@###GNOMECC_CAPPLETS_DESKTOP_IN_RULE@
|
2000-09-09 23:21:28 +00:00
|
|
|
|
2001-07-27 01:43:48 +00:00
|
|
|
INCLUDES = $(GNOMECC_CAPPLETS_CFLAGS) $(BONOBO_CONF_DEFINE)
|
2001-07-18 03:21:07 +00:00
|
|
|
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES)
|
2001-09-28 12:30:35 +00:00
|
|
|
EXTRA_DIST = $(GNOMECC_CAPPLETS_EXTRA_DIST) $(defaults_DATA) $(oaf_DATA).in
|
2001-07-18 03:21:07 +00:00
|
|
|
iconsdir = $(GNOMECC_ICONS_DIR)
|
|
|
|
Gladedir = $(GNOMECC_GLADE_DIR)
|
|
|
|
pixmapdir = $(GNOMECC_PIXMAPS_DIR)
|
|
|
|
Glade_DATA = $(cappletname)-properties.glade
|
|
|
|
icons_DATA = $(cappletname)-capplet.png
|
|
|
|
desktop = $(cappletname).desktop
|
2001-07-24 22:55:50 +00:00
|
|
|
all-local: $(desktop) $(oaffile)
|