aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2007-05-30 21:58:01 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2007-05-30 21:58:01 +0000
commitc88f7a39a906db747a42c9d9f4ca0cda7c9bbb01 (patch)
tree70d6ed38515f5604bc481efb958cde3fa2e1d759
parent6d9bd926b7a8be542cd4828304ff03bc9820c074 (diff)
downloadpaludis-c88f7a39a906db747a42c9d9f4ca0cda7c9bbb01.tar.gz
paludis-c88f7a39a906db747a42c9d9f4ca0cda7c9bbb01.tar.xz
Update docs saying use export in bashrc.
-rw-r--r--doc/faq.html.skel20
-rw-r--r--doc/migration.html.skel11
2 files changed, 15 insertions, 16 deletions
diff --git a/doc/faq.html.skel b/doc/faq.html.skel
index 4892dd6..b19ff19 100644
--- a/doc/faq.html.skel
+++ b/doc/faq.html.skel
@@ -87,8 +87,8 @@ the code now does.</p>
configuration <code>bashrc</code>:</p>
<pre>
-export PATH="/usr/lib/ccache/bin/:${PATH}"
-export CCACHE_DIR="/var/tmp/ccache"
+PATH="/usr/lib/ccache/bin/:${PATH}"
+CCACHE_DIR="/var/tmp/ccache"
</pre>
<h3 id="distcc">Use <code>distcc</code></h3>
@@ -97,9 +97,9 @@ export CCACHE_DIR="/var/tmp/ccache"
configuration <code>bashrc</code>:</p>
<pre>
-export DISTCC_DIR="/var/tmp/paludis/.distcc"
-export DISTCC_HOSTS="localhost another_host"
-export PATH="/usr/lib/distcc/bin:${PATH}"
+DISTCC_DIR="/var/tmp/paludis/.distcc"
+DISTCC_HOSTS="localhost another_host"
+PATH="/usr/lib/distcc/bin:${PATH}"
</pre>
<h3 id="defaultoptions">Specify default options</h3>
@@ -297,7 +297,7 @@ option.</p>
<p>Various packages will fail <code>src_test</code>.</p>
-<p>You can <code>export SKIP_FUNCTIONS="test"</code> to skip tests. This
+<p>You can set <code>SKIP_FUNCTIONS="test"</code> to skip tests. This
is best done on a per-package basis via <code>bashrc</code>:</p>
<pre>
@@ -305,7 +305,7 @@ case "${PN}" in
# Don't use src_test for these broken packages
foo|bar|baz)
- export SKIP_FUNCTIONS=test
+ SKIP_FUNCTIONS=test
;;
esac
@@ -326,7 +326,7 @@ other than <code>/</code>.</p>
<p>Paludis enforces <code>ROOT</code> via Sandbox. However, some packages don't
honour <code>ROOT</code>. To temporarily disable sandbox for these packages,
-<code>export SANDBOX_PREDICT=/</code> or <code>export SANDBOX_WRITE=/</code> as
+set <code>SANDBOX_PREDICT=/</code> or <code>SANDBOX_WRITE=/</code> as
appropriate.</p>
<h3 id="blacklist">Repository Blacklists</h3>
@@ -466,14 +466,14 @@ a rather ugly way of handling things. We do have equivalents to most values:</p>
<dt>keepwork, keeptemp, noclean</dt>
<dd>The <code>builtin_tidyup</code> phase does cleaning up. You can turn
- this phase off using <code>export SKIP_FUNCTIONS="tidyup"</code>.</dd>
+ this phase off using <code>SKIP_FUNCTIONS="tidyup"</code>.</dd>
<dt>nodoc, noinfo, noman</dt>
<dd>You could write a hook that removes the relevant directories from
<code>$D</code>.</dd>
<dt>nostrip</dt>
- <dd>Again, it's a function, so <code>export SKIP_FUNCTIONS="strip"</code>.</dd>
+ <dd>Again, it's a function, so use <code>SKIP_FUNCTIONS="strip"</code>.</dd>
<dt>sandbox</dt>
<dd>Always on.</dd>
diff --git a/doc/migration.html.skel b/doc/migration.html.skel
index fb98dda..379538a 100644
--- a/doc/migration.html.skel
+++ b/doc/migration.html.skel
@@ -114,15 +114,14 @@ END
values that affect dependency resolution (e.g. <code>USE</code>,
<code>LINGUAS</code>). It can be used to set <code>CFLAGS</code>,
<code>CHOST</code> and the like (on some archs you'll have to do this to
-avoid getting junk from your profile). Remember to <code>export</code> your
-variables.</p>
+avoid getting junk from your profile).</p>
<pre>
cat &lt;&lt;"END" &gt; /etc/paludis/bashrc
-export CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
-export CXXFLAGS="${CFLAGS}"
-export CHOST="i686-pc-linux-gnu"
-export MAKEOPTS="-j2"
+CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
+CXXFLAGS="${CFLAGS}"
+CHOST="i686-pc-linux-gnu"
+MAKEOPTS="-j2"
END
</pre>