From: Graham Percival <graham@percival-music.ca>
Date: Sat, 11 Jun 2011 13:08:53 +0000 (+0100)
Subject: CG: set up a good environment for building.
X-Git-Tag: release/2.15.1-1~1
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5b7dd34a8b708432c2c44bd6a8ef2121ca0c0f6a;p=lilypond.git

CG: set up a good environment for building.
---

diff --git a/Documentation/contributor/release-work.itexi b/Documentation/contributor/release-work.itexi
index 92cd87ab67..099e770d49 100644
--- a/Documentation/contributor/release-work.itexi
+++ b/Documentation/contributor/release-work.itexi
@@ -95,6 +95,27 @@ git push origin
 If you do not have the previous release test-output tarball, download
 it and put it in @code{regtests/}
 
+@item Prepare GUB environment by running:
+
+@example
+### my-gub.sh
+# special terminal, and default PATH environment.
+# import these special environment vars:
+#   HOME, HTTP_PROXY, TERM
+env -i \
+  HOME=$HOME \
+  HTTP_PROXY=$HTTP_PROXY \
+  bash --rcfile my-bashrc
+@end example
+
+@example
+### my-bashrc
+export PS1="\[\e[1;33mGUB-ENV \w\]$ \[\e[0m\]"
+export PATH=$PATH
+export TERM=xterm
+@end example
+
+
 @item Build release on GUB by running:
 
 @example