aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/Makefile.am
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-21 07:19:37 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-21 07:19:37 +0800
commit7cd992827167f3a1ce89c2807c6d103828b2e866 (patch)
tree2f9c484952568feb67b2290165ded6f857a5d4a1 /calendar/gui/Makefile.am
parentd2dd873c5e078a9581bc091c640427c9841252f4 (diff)
downloadgsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.tar.gz
gsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.tar.zst
gsoc2013-evolution-7cd992827167f3a1ce89c2807c6d103828b2e866.zip
Add GConf schemas.
2003-02-20 Hans Petter Jansson <hpj@ximian.com> * gui/apps_evolution_calendar.schemas: Add GConf schemas. * gui/Makefile.am (EXTRA_DIST): Dist GConf schemas. (install-data-local): Install GConf schemas. svn path=/trunk/; revision=19987
Diffstat (limited to 'calendar/gui/Makefile.am')
-rw-r--r--calendar/gui/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index 08c4a2dcb4..8c0a6ff561 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -207,19 +207,29 @@ server_DATA = $(server_in_files:.server.in.in=.server)
$(server_in_files:.server.in.in=.server.in): $(server_in_files)
sed -e "s|\@COMPONENTDIR\@|$(componentdir)|" $< > $@
+# GConf schemas
+
+schemadir = $(GCONF_SCHEMA_FILE_DIR)
+schema_DATA = apps_evolution_calendar.schemas
+
@INTLTOOL_SERVER_RULE@
EXTRA_DIST = \
$(glade_DATA) \
+ $(schema_DATA) \
$(etspec_DATA) \
$(server_in_files)
BUILT_SOURCES = $(IDL_GENERATED)
CLEANFILES = $(BUILT_SOURCES)
-
install-data-local:
- $(mkinstalldirs) $(Conduitsdir)
+ $(mkinstalldirs) $(Conduitsdir); \
+ if test -z "$(DESTDIR)"; then \
+ for p in $(schema_DATA); do \
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \
+ done; \
+ fi
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)