release.nix: Make the HTML manual a Hydra build product.

This commit is contained in:
Ludovic Courtès 2011-07-04 14:48:44 +00:00
parent 666f543122
commit 2e723601ca

View file

@ -26,9 +26,13 @@ rec {
configureFlags = "--with-nix=${nix}";
postDist = ''
cp doc/manual/manual.pdf $out
nuke-refs $out/manual.pdf
echo "doc-pdf manual $out/manual.pdf" >> $out/nix-support/hydra-build-products
make -C doc/manual install
nuke-refs "$out/share/doc/hydra/manual.pdf"
echo "doc manual $out/share/doc/hydra/manual.html" >> \
"$out/nix-support/hydra-build-products"
echo "doc-pdf manual $out/share/doc/hydra/manual.pdf" >> \
"$out/nix-support/hydra-build-products"
'';
};