-
Notifications
You must be signed in to change notification settings - Fork 20
Documentation
Setup the environment just like it was done previously.
Set ERL_TOP the environment variable:
cd otp
export ERL_TOP=`pwd`Also, set a destination path for the documentation:
export TESTROOT=<path>The repository does not contain a generated configure file, so it must be generated like this:
./otp_build autoconfbefore configure can be run. When the configure files has been generated, you can build in the usual way as described in the README file. Shortly:
./configure
makeTo build the complete documentation for all applications. Build it from the top.
make release_docsIf only a specific application documentation needs to be built erl_docgen needs to be built also. Enter the erl_docgen directory and release the necessary files.
cd $ERL_TOP/lib/erl_docgen
make release_docsThen enter the application directory and build its documentation.
cd $ERL_TOP/lib/<application>
make release_docsThis will generate man-pages, html-pages and a pdf-file for the application.