projects/package-update-indicator

changeset 15:329aeecdd83a

Do not run glib-compile-schemas if schemas are installed into staging directory
author Guido Berhoerster <guido+pui@berhoerster.name>
date Sat Jul 14 22:07:42 2018 +0200 (23 months ago)
parents f783ba95ec4a
children 6304dbbedb67
files Makefile
line diff
     1.1 --- a/Makefile	Sat Jul 14 09:57:39 2018 +0200
     1.2 +++ b/Makefile	Sat Jul 14 22:07:42 2018 +0200
     1.3 @@ -230,8 +230,9 @@
     1.4  	    $(INSTALL.data) $${schema} \
     1.5  	        $(DESTDIR)$(datadir)/glib-2.0/schemas/$${schema}; \
     1.6  	done
     1.7 -	[ -n "$(GSETTINGS_SCHEMAS)" ] && \
     1.8 -	    $(GLIB_COMPILE_SCHEMAS) $(datadir)/glib-2.0/schemas
     1.9 +	if [ -n "$(GSETTINGS_SCHEMAS)" ] && [ -z "$(DESTDIR)" ]; then \
    1.10 +	    $(GLIB_COMPILE_SCHEMAS) $(datadir)/glib-2.0/schemas; \
    1.11 +	fi
    1.12  	$(INSTALL.data) $(AUTOSTART_FILE) \
    1.13  	    $(DESTDIR)$(xdgautostartdir)/$(AUTOSTART_FILE)
    1.14  	for desktop_file in $(DESKTOP_FILES); do \