summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/maint/exportall.inc8
-rw-r--r--tools/maint/libpath.inc10
2 files changed, 18 insertions, 0 deletions
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"