From c6262af5f8d012b671ef3107577b765b1e9ff8a1 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 6 Feb 2004 19:10:25 +0000 Subject: Honour the --with-gconf-schema-file-dir and --disable-schemas-install 2004-02-06 Christian Persch * data/Makefile.am: Honour the --with-gconf-schema-file-dir and --disable-schemas-install configure options. Patch by Julio M. Merino Vidal, fixes bug #133533. --- ChangeLog | 9 ++++++++- data/Makefile.am | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2df7a610d..f0898e62b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -204-02-05 Christian Persch +2004-02-06 Christian Persch + + * data/Makefile.am: + + Honour the --with-gconf-schema-file-dir and --disable-schemas-install + configure options. Patch by Julio M. Merino Vidal, fixes bug #133533. + +2004-02-06 Christian Persch * data/glade/prefs-dialog.glade: diff --git a/data/Makefile.am b/data/Makefile.am index 999810340..699ebd698 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -27,7 +27,7 @@ desktop_DATA = $(DESKTOP_FILES) applicationsdir = $(datadir)/application-registry applications_DATA = epiphany.applications -schemadir = $(sysconfdir)/gconf/schemas +schemadir = $(GCONF_SCHEMA_FILE_DIR) schema_in_files = epiphany.schemas.in epiphany-lockdown.schemas.in schema_DATA = epiphany.schemas epiphany-lockdown.schemas @@ -41,11 +41,13 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = epiphany-1.0.pc install-data-local: +if GCONF_SCHEMAS_INSTALL if test -z "$(DESTDIR)" ; then \ for p in $(schema_DATA) ; do \ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p; \ done \ fi +endif EXTRA_DIST = $(NAUTILUS_VIEW_SERVER) \ $(server_in_files) \ -- cgit v1.2.3