--- gnome-vfs-2.6.1.1/schemas/Makefile.orig 2004-05-10 13:26:36.000000000 -0400 +++ gnome-vfs-2.6.1.1/schemas/Makefile 2004-05-10 13:27:26.000000000 -0400 @@ -95,7 +95,7 @@ GCJFLAGS = @GCJFLAGS@ GCONFTOOL = /usr/bin/gconftool-2 GCONF_REQUIRED = 1.1.1 -GCONF_SCHEMA_CONFIG_SOURCE = xml::/etc/gconf/gconf.xml.defaults +GCONF_SCHEMA_CONFIG_SOURCE = xml::$(DESTDIR)/etc/gconf/gconf.xml.defaults GCONF_SCHEMA_FILE_DIR = $(sysconfdir)/gconf/schemas/ GETTEXT_PACKAGE = gnome-vfs-2.0 GLIB_REQUIRED = 2.0.0 @@ -365,11 +365,9 @@ # don't do this if we are building in eg. rpm install-data-local: - if test -z "$(DESTDIR)" ; then \ - for p in $(schema_DATA) ; do \ + for p in $(schema_DATA) ; do \ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p; \ - done \ - fi + done \ #install-data-local: # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.