comparison Makefile @ 15:329aeecdd83a

Do not run glib-compile-schemas if schemas are installed into staging directory
author Guido Berhoerster <guido+pui@berhoerster.name>
date Sat, 14 Jul 2018 22:07:42 +0200
parents adba37525ee5
children 26e319ace486
comparison
equal deleted inserted replaced
14:f783ba95ec4a 15:329aeecdd83a
228 "$(DESTDIR)$(bindir)/$(PACKAGE)-prefs" 228 "$(DESTDIR)$(bindir)/$(PACKAGE)-prefs"
229 for schema in $(GSETTINGS_SCHEMAS); do \ 229 for schema in $(GSETTINGS_SCHEMAS); do \
230 $(INSTALL.data) $${schema} \ 230 $(INSTALL.data) $${schema} \
231 $(DESTDIR)$(datadir)/glib-2.0/schemas/$${schema}; \ 231 $(DESTDIR)$(datadir)/glib-2.0/schemas/$${schema}; \
232 done 232 done
233 [ -n "$(GSETTINGS_SCHEMAS)" ] && \ 233 if [ -n "$(GSETTINGS_SCHEMAS)" ] && [ -z "$(DESTDIR)" ]; then \
234 $(GLIB_COMPILE_SCHEMAS) $(datadir)/glib-2.0/schemas 234 $(GLIB_COMPILE_SCHEMAS) $(datadir)/glib-2.0/schemas; \
235 fi
235 $(INSTALL.data) $(AUTOSTART_FILE) \ 236 $(INSTALL.data) $(AUTOSTART_FILE) \
236 $(DESTDIR)$(xdgautostartdir)/$(AUTOSTART_FILE) 237 $(DESTDIR)$(xdgautostartdir)/$(AUTOSTART_FILE)
237 for desktop_file in $(DESKTOP_FILES); do \ 238 for desktop_file in $(DESKTOP_FILES); do \
238 $(INSTALL.data) $${desktop_file} \ 239 $(INSTALL.data) $${desktop_file} \
239 $(DESTDIR)$(xdgapplicationsdir)/$${desktop_file}; \ 240 $(DESTDIR)$(xdgapplicationsdir)/$${desktop_file}; \