--- nautilus-2.4.0/libnautilus-private/Makefile.orig 2004-04-04 01:01:54.000000000 -0500 +++ nautilus-2.4.0/libnautilus-private/Makefile 2004-04-04 01:02:01.000000000 -0500 @@ -92,7 +92,7 @@ ENABLE_PROFILER = ESOUND_REQUIRED = 0.2.27 GCONFTOOL = /usr/bin/gconftool-2 -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 = nautilus GIMPHWRAPBOX_CFLAGS = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include @@ -860,11 +860,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 \ - GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \ - done \ - fi + for p in $(schema_DATA) ; do \ + GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \ + done \ dist-hook: cd $(distdir); rm -f $(CLEANFILES)