diff options
author | Dave Smith <[email protected]> | 2011-10-24 07:28:30 -0600 |
---|---|---|
committer | Dave Smith <[email protected]> | 2011-10-24 07:28:30 -0600 |
commit | ba3390f05910894e3684c37e5e4b81b174bc40d3 (patch) | |
tree | cb4030aa8daa1af5cabd0d6ac3b3ebe84696f91b | |
parent | c753a124b880f0521b8d360d8dd62e104956649d (diff) | |
download | kerl-ba3390f05910894e3684c37e5e4b81b174bc40d3.tar.gz kerl-ba3390f05910894e3684c37e5e4b81b174bc40d3.tar.bz2 kerl-ba3390f05910894e3684c37e5e4b81b174bc40d3.zip |
Add support for install HTML docs via KERL_INSTALL_HTMLDOCS
-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:" |