summaryrefslogtreecommitdiffstats
path: root/e/FUNCTIONS
diff options
context:
space:
mode:
authorEric Sandall2008-02-27 21:00:39 -0800
committerEric Sandall2008-02-27 21:00:39 -0800
commit25f1e90d5db588a39c89480385d18ab52a2f5e8c (patch)
tree02eddd3fb3064e39cfeebb6f0fcb0102752cbab6 /e/FUNCTIONS
parent44f025c1c63e2f301d1a14f555b399e755271d18 (diff)
e: Properly (according to E17 devs) install E17 modules using enlightenment-config, not building with --prefix (the latter breaks modules from being freely relocatable)
Diffstat (limited to 'e/FUNCTIONS')
-rwxr-xr-xe/FUNCTIONS12
1 files changed, 12 insertions, 0 deletions
diff --git a/e/FUNCTIONS b/e/FUNCTIONS
new file mode 100755
index 0000000000..d2df2cb7da
--- /dev/null
+++ b/e/FUNCTIONS
@@ -0,0 +1,12 @@
+#-------------------------------------------------------------------------
+## Default build for Enlightenment DR17 modules
+## These modules should not use --prefix, but rather get their
+## installation path from `enlightenment-config --module-dir`
+#-------------------------------------------------------------------------
+default_build_e17_module() {
+ ./configure --sysconfdir=${INSTALL_ROOT}/etc \
+ --localstatedir=${INSTALL_ROOT}/var \
+ --mandir=${INSTALL_ROOT}/usr/share/man \
+ --infodir=${INSTALL_ROOT}/usr/share/info \
+ $OPTS
+}