patch for libgnome/schemas/Makefile.am



i think this patch is an improvement - thoughts?

jacob
-- 
"In fact, can you imagine anything more terrifying than a zombie clown?"
	-- moby
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/libgnome/schemas/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- Makefile.am	2001/12/17 19:28:37	1.2
+++ Makefile.am	2001/12/17 22:20:43
@@ -1,4 +1,4 @@
-schemadir   = @GCONF_SCHEMA_FILE_DIR@
+schemadir   = $(GCONF_SCHEMA_FILE_DIR)
 schema_DATA = \
 	desktop_gnome_applications_browser.schemas		\
 	desktop_gnome_applications_editor.schemas		\
@@ -9,7 +9,10 @@
 	desktop_gnome_peripherals_mouse.schemas			\
 	desktop_gnome_url_handlers.schemas
 
+# don't do this if we are building in eg. rpm
 install-data-local:
-	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
+	if test -z "$(DESTDIR)" ; then \
+		GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA) ; \
+	fi
 
 EXTRA_DIST = $(schema_DATA)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]