depot/third_party/nixpkgs/pkgs/data/documentation/rnrs/builder.sh
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

12 lines
416 B
Bash

source "$stdenv/setup" || exit 1
# XXX: Eventually we could consider building the PDF/PS files as well.
echo "source is \`$src', report name is \`$reportName'"
mkdir -p "$out/share/info" && \
makeinfo -o "$out/share/info/${reportName}.info" "$src"
# XXX: HTML output is apparently broken.
#mkdir -p "$out/share/doc/${reportName}" && \
#makeinfo -o "$out/share/doc/${reportName}/html" --html --force "$src"