# HG changeset patch # User Guido Berhoerster # Date 1531598862 -7200 # Node ID 329aeecdd83a6d6f95038212a8c08dd6d4b054f0 # Parent f783ba95ec4adfb599f63b63dcb5450f99f8c938 Do not run glib-compile-schemas if schemas are installed into staging directory diff -r f783ba95ec4a -r 329aeecdd83a Makefile --- a/Makefile Sat Jul 14 09:57:39 2018 +0200 +++ b/Makefile Sat Jul 14 22:07:42 2018 +0200 @@ -230,8 +230,9 @@ $(INSTALL.data) $${schema} \ $(DESTDIR)$(datadir)/glib-2.0/schemas/$${schema}; \ done - [ -n "$(GSETTINGS_SCHEMAS)" ] && \ - $(GLIB_COMPILE_SCHEMAS) $(datadir)/glib-2.0/schemas + if [ -n "$(GSETTINGS_SCHEMAS)" ] && [ -z "$(DESTDIR)" ]; then \ + $(GLIB_COMPILE_SCHEMAS) $(datadir)/glib-2.0/schemas; \ + fi $(INSTALL.data) $(AUTOSTART_FILE) \ $(DESTDIR)$(xdgautostartdir)/$(AUTOSTART_FILE) for desktop_file in $(DESKTOP_FILES); do \