* Produce the manual in the tarball job.

This commit is contained in:
Eelco Dolstra 2009-05-07 12:57:04 +00:00
parent 7660e2a068
commit 404996ca1f

View file

@ -48,6 +48,12 @@ let
stripHash ${bzip2.src} stripHash ${bzip2.src}
cp -pv ${bzip2.src} externals/$strippedName cp -pv ${bzip2.src} externals/$strippedName
''; '';
preDist = ''
make -C doc/manual install prefix=$out
echo "doc manual $out/share/doc/nix/manual" >> $out/nix-support/hydra-build-products
echo "doc release-notes $out/share/doc/nix/release-notes" >> $out/nix-support/hydra-build-products
'';
}; };
@ -68,11 +74,6 @@ let
--disable-init-state --disable-init-state
--with-bdb=${db45} --with-aterm=${aterm242fixes} --with-bzip2=${bzip2} --with-bdb=${db45} --with-aterm=${aterm242fixes} --with-bzip2=${bzip2}
''; '';
postInstall = ''
echo "doc manual $out/share/doc/nix/manual" >> $out/nix-support/hydra-build-products
echo "doc release-notes $out/share/doc/nix/release-notes" >> $out/nix-support/hydra-build-products
'';
}; };