* common.mk (guilemoduledir): Set to $(GUILEMODDIR).
* README: Mention `--with-modules-dir'.
---
 README    | 14 +++++++-------
 common.mk |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/README b/README
index fa4061f..8742f10 100644
--- a/README
+++ b/README
@@ -36,22 +36,22 @@ Once all dependencies are statisfied, open a terminal and:
     cd <download-path>
     tar zxf g-wrap-<version>.tar.gz
     cd g-wrap-<version>
-    ./configure [--prefix=/your/prefix]
+    ./configure [--prefix=/your/prefix] [--with-modules-dir=/your/modulesdir]
     make
     make install
 
 Notes:
 
-(1) In the above configure step, --prefix=/your/prefix is
-    optional. The default value is /usr/local.
+(1) In the above configure step, Both --prefix and --with-modules-dir are
+    optional. The default values are /usr/local and $prefix/share/guile/site.
 
 (2) To install G-Wrap, you must have write permissions to the $prefix
     dir and its subdirs.
 
-(3) G-Wrap's modules will be installed in $prefix/share/guile/site. If
-    it differs from Guile's global site directory, then this path must
-    be aded to Guile's load paths before to use G-Wrap and compile
-    Guile-Gnome or Guile-Clutter. You may check Guile's values using:
+(3) G-Wrap's modules will be installed in the directory specified by
+    --with-modules-dir. If it differs from Guile's global site directory, then
+    this path must be aded to Guile's load paths before to use G-Wrap and
+    compile Guile-Gnome or Guile-Clutter. You may check Guile's values using:
 
     guile -c "(display (%global-site-dir)) (newline)"
     guile -c "(display %load-path) (newline)"
diff --git a/common.mk b/common.mk
index 70a43a6..28be2bc 100644
--- a/common.mk
+++ b/common.mk
@@ -1,4 +1,4 @@
-guilemoduledir = $(datadir)/guile/site
+guilemoduledir = $(GUILEMODDIR)
 gwrapmoduledir = $(guilemoduledir)/g-wrap
 gwrapincludedir = $(includedir)/g-wrap
 gwrapshlibdir = $(pkglibdir)/modules
-- 
2.5.0


_______________________________________________
g-wrap-dev mailing list
g-wrap-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/g-wrap-dev

Reply via email to