From 8be5b3fb8a516380fc88fd900a98238ce8564682 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Wed, 15 Jan 2025 08:31:09 +0100
Subject: Introduce a few new helper files for local execution.

---
 tools/maint/exportall.inc |  8 ++++++++
 tools/maint/libpath.inc   | 10 ++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 tools/maint/exportall.inc
 create mode 100644 tools/maint/libpath.inc

diff --git a/tools/maint/exportall.inc b/tools/maint/exportall.inc
new file mode 100644
index 0000000..f03be3c
--- /dev/null
+++ b/tools/maint/exportall.inc
@@ -0,0 +1,8 @@
+
+# source tools/maint/exportall.inc
+
+# unset PYTHONPATH GSETTINGS_SCHEMA_DIR LD_LIBRARY_PATH
+
+source tools/maint/pypath.inc
+source tools/maint/gsettings.inc
+source tools/maint/libpath.inc
diff --git a/tools/maint/libpath.inc b/tools/maint/libpath.inc
new file mode 100644
index 0000000..19e68d7
--- /dev/null
+++ b/tools/maint/libpath.inc
@@ -0,0 +1,10 @@
+
+# Look for all path containing binaries for local execution
+
+# source tools/maint/libpath.inc
+
+LD_LIBRARY_PATH="$PWD/src/.libs:$LD_LIBRARY_PATH"
+
+find . -type d -name schemas -exec glib-compile-schemas {} \;
+
+export LD_LIBRARY_PATH=$( find plugins/ -maxdepth 2 -type d -name '.libs' -printf "$PWD/plugins/%P:" | sed 's/:$//' ):"$LD_LIBRARY_PATH"
-- 
cgit v0.11.2-87-g4458