--- gnome-panel-2.4.0/gnome-panel/Makefile.orig	2004-01-14 11:06:11.000000000 -0500
+++ gnome-panel-2.4.0/gnome-panel/Makefile	2004-01-14 11:31:30.000000000 -0500
@@ -89,7 +89,7 @@
 GCJFLAGS = @GCJFLAGS@
 GCONFTOOL = /usr/bin/gconftool-2
 GCONF_REQUIRED = 2.3.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/
 GDK_PIXBUF_CSOURCE = /usr/bin/gdk-pixbuf-csource
 GDK_PIXBUF_REQUIRED = 2.1.0
@@ -1199,12 +1199,10 @@
 %.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -s -u -c $(top_builddir)/po/.intltool-merge-cache
 
 install-data-local:
-	if test -z "$(DESTDIR)" ; then \
-		for p in $(schemas_DATA) ; do \
-			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gnome-panel/$$p ; \
-		done ; \
-		$(GCONFTOOL) --direct --config-source=$(GCONF_SCHEMA_CONFIG_SOURCE) --load $(srcdir)/panel-default-setup.entries ; \
-	fi
+	for p in $(schemas_DATA) ; do \
+		GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gnome-panel/$$p ; \
+	done ; \
+	$(GCONFTOOL) --direct --config-source=$(GCONF_SCHEMA_CONFIG_SOURCE) --load $(srcdir)/panel-default-setup.entries ; \
 #install-data-local:
 
 dist-hook:
--- gnome-panel-2.4.0/applets/clock/Makefile.orig	2004-01-14 12:41:17.000000000 -0500
+++ gnome-panel-2.4.0/applets/clock/Makefile	2004-01-14 12:43:20.000000000 -0500
@@ -89,7 +89,7 @@
 GCJFLAGS = @GCJFLAGS@
 GCONFTOOL = /usr/bin/gconftool-2
 GCONF_REQUIRED = 2.3.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/
 GDK_PIXBUF_CSOURCE = /usr/bin/gdk-pixbuf-csource
 GDK_PIXBUF_REQUIRED = 2.1.0
@@ -552,11 +552,9 @@
 
 # don't do this if we are building in eg. rpm
 install-data-local:
-	if test -z "$(DESTDIR)" ; then \
-		for p in $(schemas_DATA) ; do \
-		        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/applets/clock/$$p ; \
-		done \
-	fi
+	for p in $(schemas_DATA) ; do \
+	        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/applets/clock/$$p ; \
+	done
 #install-data-local:
 
 regenerate-built-sources:
--- gnome-panel-2.4.0/applets/fish/Makefile.orig	2004-01-14 12:41:18.000000000 -0500
+++ gnome-panel-2.4.0/applets/fish/Makefile	2004-01-14 12:43:58.000000000 -0500
@@ -89,7 +89,7 @@
 GCJFLAGS = @GCJFLAGS@
 GCONFTOOL = /usr/bin/gconftool-2
 GCONF_REQUIRED = 2.3.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/
 GDK_PIXBUF_CSOURCE = /usr/bin/gdk-pixbuf-csource
 GDK_PIXBUF_REQUIRED = 2.1.0
@@ -617,11 +617,9 @@
 
 # don't do this if we are building in eg. rpm
 install-data-local:
-	if test -z "$(DESTDIR)" ; then \
-		for p in $(schemas_DATA) ; do \
-			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/applets/fish/$$p ; \
-	done \
-	fi
+	for p in $(schemas_DATA) ; do \
+		GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/applets/fish/$$p ; \
+	done
 #install-data-local:
 
 regenerate-built-sources:
--- gnome-panel-2.4.0/applets/wncklet/Makefile.orig	2004-01-14 12:41:18.000000000 -0500
+++ gnome-panel-2.4.0/applets/wncklet/Makefile	2004-01-14 12:44:26.000000000 -0500
@@ -89,7 +89,7 @@
 GCJFLAGS = @GCJFLAGS@
 GCONFTOOL = /usr/bin/gconftool-2
 GCONF_REQUIRED = 2.3.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/
 GDK_PIXBUF_CSOURCE = /usr/bin/gdk-pixbuf-csource
 GDK_PIXBUF_REQUIRED = 2.1.0
@@ -656,11 +656,9 @@
 
 # don't do this if we are building in eg. rpm
 install-data-local:
-	if test -z "$(DESTDIR)" ; then \
-		for p in $(schemas_DATA) ; do \
-			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/applets/wncklet/$$p ; \
-		done \
-	fi
+	for p in $(schemas_DATA) ; do \
+		GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/applets/wncklet/$$p ; \
+	done
 #install-data-local:
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
