diff options
author | Yurii Rashkovskii <[email protected]> | 2011-10-24 06:48:37 -0700 |
---|---|---|
committer | Yurii Rashkovskii <[email protected]> | 2011-10-24 06:48:37 -0700 |
commit | 9a29fddfd768b01206844565d7a6a07830baa030 (patch) | |
tree | 510f8f667be3b5f9e52ed2c7527e76a168a3c31e /kerl | |
parent | c753a124b880f0521b8d360d8dd62e104956649d (diff) | |
parent | 4ec6511e73da53bb8938340eecb0b64590448960 (diff) | |
download | kerl-9a29fddfd768b01206844565d7a6a07830baa030.tar.gz kerl-9a29fddfd768b01206844565d7a6a07830baa030.tar.bz2 kerl-9a29fddfd768b01206844565d7a6a07830baa030.zip |
Merge pull request #14 from dizzyd/dss-html-docs
Add support for install HTML docs via KERL_INSTALL_HTMLDOCS
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -446,6 +446,16 @@ ACTIVATE echo "Extracting manpages" cd "$absdir" && tar xfz "$KERL_DOWNLOAD_DIR/$FILENAME" fi + + if [ "$rel" != "git" -a -n "$KERL_INSTALL_HTMLDOCS" ]; then + echo "Fetching and installing HTML docs..." + FILENAME="otp_doc_html_$rel.tar.gz" + download "$FILENAME" + echo "Extracting HTML docs" + (cd "$absdir" && mkdir -p html && \ + tar -C "$absdir/html" -xzf "$KERL_DOWNLOAD_DIR/$FILENAME") + fi + echo "You can activate this installation running the following command:" echo ". $absdir/activate" echo "Later on, you can leave the installation typing:" |