[rhythmbox] Properly install gsetting schema files on BSDs.
- From: Antoine Jacoutot <ajacoutot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] Properly install gsetting schema files on BSDs.
- Date: Tue, 13 Sep 2011 13:58:15 +0000 (UTC)
commit 75e1de32d7dcca3ee5da3c3c3a403889409c73a1
Author: Antoine Jacoutot <ajacoutot openbsd org>
Date: Tue Sep 13 15:25:31 2011 +0200
Properly install gsetting schema files on BSDs.
Apply the same recipe as in #627126.
macros/gsettings.m4 | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/macros/gsettings.m4 b/macros/gsettings.m4
index b686989..76b808a 100644
--- a/macros/gsettings.m4
+++ b/macros/gsettings.m4
@@ -36,22 +36,10 @@ install-data-am: install-gsettings-schemas
.SECONDARY: $(gsettings_SCHEMAS)
-gsettings__base_list = \
- sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \
- sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g"
-
-install-gsettings-schemas: $(gsettings_SCHEMAS:.xml=.valid)
+install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
@$(NORMAL_INSTALL)
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"
- @list='\''$(gsettings_SCHEMAS)'\''; test -n "$(gsettingsschemadir)" || list=; \
- for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- echo "$$d$$p"; \
- done | $(gsettings__base_list) | \
- while read files; do \
- echo " $(INSTALL_DATA) $$files '\''$(DESTDIR)$(gsettingsschemadir)'\''"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(gsettingsschemadir)" || exit $$?; \
- done
+ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
uninstall-gsettings-schemas:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]