aboutsummaryrefslogtreecommitdiffstats
path: root/HOWTO/INSTALL.md
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-02-14 22:57:37 +0100
committerRickard Green <[email protected]>2014-02-19 15:31:52 +0100
commitf51da9be40b578cdf386264312eb9b37d18ce778 (patch)
tree02f1416fe02c20cdfc391627cdab32cfc19ef30c /HOWTO/INSTALL.md
parent3fd4e3e770fbed95fd6fa2d547945ac71256339c (diff)
downloadotp-f51da9be40b578cdf386264312eb9b37d18ce778.tar.gz
otp-f51da9be40b578cdf386264312eb9b37d18ce778.tar.bz2
otp-f51da9be40b578cdf386264312eb9b37d18ce778.zip
Build documentation with bootstrap system
Enables build of documentation in source trees that has been cross built
Diffstat (limited to 'HOWTO/INSTALL.md')
-rw-r--r--HOWTO/INSTALL.md20
1 files changed, 6 insertions, 14 deletions
diff --git a/HOWTO/INSTALL.md b/HOWTO/INSTALL.md
index 2a4abedfcf..c9f4062b83 100644
--- a/HOWTO/INSTALL.md
+++ b/HOWTO/INSTALL.md
@@ -500,21 +500,11 @@ The Erlang/OTP Documentation
### How to Build the Documentation ###
- $ cd $ERL_TOP
-
-If you have just built Erlang/OTP in the current source tree, you have
-already ran `configure` and do not need to do this again; otherwise, run
-`configure`.
-
- $ ./configure [Configure Args]
-
-When building the documentation you need a full Erlang/OTP-%OTP-REL% system in
-the `$PATH`.
-
- $ export PATH=<Erlang/OTP-%OTP-REL% bin dir>:$PATH # Assuming bash/sh
-
-Build the documentation.
+Before you can build the documentation you need to either [native build][]
+or [cross build][] the Erlang/OTP system. After this you can build the
+documentation as follows.
+ $ cd $ERL_TOP
$ make docs
The documentation can be installed either using the `install-docs` target,
@@ -806,6 +796,8 @@ Before modifying this document you need to have a look at the
[html documentation]: http://www.erlang.org/download/otp_doc_html_%OTP-VSN%.tar.gz
[man pages]: http://www.erlang.org/download/otp_doc_man_%OTP-VSN%.tar.gz
[the released source tar ball]: http://www.erlang.org/download/otp_src_%OTP-VSN%.tar.gz
+ [native build]: #How-to-Build-and-Install-ErlangOTP
+ [cross build]: INSTALL-CROSS.md
[$ERL_TOP/HOWTO/MARKDOWN.md]: MARKDOWN.md
[?TOC]: true