[jhbuild] set default installation prefix to ~/.local/



commit 24b8541aee38275c330209d94e99e151a1af2972
Author: Frederic Peters <fpeters 0d be>
Date:   Thu Apr 23 20:35:44 2009 +0200

    set default installation prefix to ~/.local/
---
 Makefile.plain    |    2 +-
 configure.ac      |    1 +
 doc/C/jhbuild.xml |    8 ++++----
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Makefile.plain b/Makefile.plain
index d0c7f42..bce8af1 100644
--- a/Makefile.plain
+++ b/Makefile.plain
@@ -6,7 +6,7 @@ CFLAGS = -Wall -O2
 
 MAKE ?= make
 
-bindir=$(HOME)/bin
+bindir=$(HOME)/.local/bin
 datarootdir=$(HOME)/.local/share
 desktopdir=$(datarootdir)/applications
 
diff --git a/configure.ac b/configure.ac
index 72413c9..8c99ea8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,7 @@ AC_CONFIG_SRCDIR(jhbuild/main.py)
 AM_INIT_AUTOMAKE
 GNOME_COMMON_INIT
 AM_MAINTAINER_MODE
+AC_PREFIX_DEFAULT(~/.local/)
 
 # i18n
 GETTEXT_PACKAGE="jhbuild"
diff --git a/doc/C/jhbuild.xml b/doc/C/jhbuild.xml
index e17ec74..1482a17 100644
--- a/doc/C/jhbuild.xml
+++ b/doc/C/jhbuild.xml
@@ -142,20 +142,20 @@
 <prompt>$</prompt></screen>
 
       <para>If these steps complete successfully, a small shell script
-      should be installed in <filename>~/bin</filename> to start
+      should be installed in <filename>~/.local/bin</filename> to start
       JHBuild.  If this directory is not in the <envar>PATH</envar>,
       it will need to be added.  This can be done with the command:</para>
 
-<screen><prompt>$</prompt> <userinput>PATH=$PATH:~/bin</userinput>
+<screen><prompt>$</prompt> <userinput>PATH=$PATH:~/.local/bin</userinput>
 <prompt>$</prompt></screen>
 
       <para>This command will need to be run every time you login and
       want to use JHBuild.  In order to permanently add
-      <filename>~/bin</filename> to your <envar>PATH</envar> variable,
+      <filename>~/.local/bin</filename> to your <envar>PATH</envar> variable,
       run the following command:</para>
 
 <screen>
-<prompt>$</prompt> <userinput>echo PATH=$PATH:~/bin >> ~/.bashrc</userinput>
+<prompt>$</prompt> <userinput>echo PATH=$PATH:~/.local/bin >> ~/.bashrc</userinput>
 <prompt>$</prompt></screen>
 
       <para>Before JHBuild can be run, it is necessary to set up a



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]