summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-09-23 19:28:15 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-09-23 19:28:15 +0000
commitc512a4c0edd9c74373eb37d3104f5cb6f3a5e945 (patch)
treeb4321a9ef6d413ef3dd2d37861baa8096eb0d775
parent959accc6465a211b6c0c377bc12d9c67c7e90c44 (diff)
downloadskalibs-c512a4c0edd9c74373eb37d3104f5cb6f3a5e945.tar.gz
skalibs-c512a4c0edd9c74373eb37d3104f5cb6f3a5e945.tar.xz
skalibs-c512a4c0edd9c74373eb37d3104f5cb6f3a5e945.zip
Clarify instructions for stage directories in crosscompile.html
-rw-r--r--doc/crosscompile.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/crosscompile.html b/doc/crosscompile.html
index c8e1862..d34e5c8 100644
--- a/doc/crosscompile.html
+++ b/doc/crosscompile.html
@@ -40,6 +40,23 @@ to perform parallel builds. If the source code tree grows significantly
 larger, out-of-tree build support will be considered.
 </p>
 
+<h3> Support for staging </h3>
+
+<p>
+ The skalibs Makefile, as well as every other
+<a href="http://skarnet.org/software/">skarnet.org package</a>'s
+Makefile, supports the DESTDIR convention for staging. To install
+skalibs under a <em>stage</em> fake root:
+</p>
+
+<ul>
+ <li> Give the options you need to <tt>./configure</tt>.
+The arguments to the <tt>--prefix</tt>, <tt>--libdir</tt> and similar
+options must be the valid paths for <strong>run-time</tt>. </li>
+ <li> To install the software, run <tt>make install
+DESTDIR=<em>stage</em></tt>. </li>
+</ul>
+
 <h2> Support for build-time options </h2>
 
 <p>