From ac65557bee2573c1cf6ae9ac107839f95e99741b Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sat, 24 Aug 2024 06:44:26 +0200
Subject: Take more GSettings schemas into account in a generic way.

---
 tools/maint/gsettings.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/maint/gsettings.inc b/tools/maint/gsettings.inc
index 40941b4..85614c6 100644
--- a/tools/maint/gsettings.inc
+++ b/tools/maint/gsettings.inc
@@ -3,6 +3,6 @@
 
 # source tools/maint/gsettings.inc
 
-glib-compile-schemas src/schemas/
+find . -type d -name schemas -exec glib-compile-schemas {} \;
 
-export GSETTINGS_SCHEMA_DIR=$PWD/src/schemas
+export GSETTINGS_SCHEMA_DIR=$( find . -type d -name schemas -printf "$PWD/%P:" | sed 's/:$//' )
-- 
cgit v0.11.2-87-g4458