diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-05-07 12:57:04 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-05-07 12:57:04 +0000 |
commit | 404996ca1f2089511b90666ce092377ade830139 (patch) | |
tree | 897d87bd57b53a96968aa97f7d3c8bdc5e0b81ca /release.nix | |
parent | 7660e2a0684e57c2f7f014a6f457b7866e2b9e22 (diff) |
* Produce the manual in the tarball job.
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/release.nix b/release.nix index 50607ba5b..3f7de2145 100644 --- a/release.nix +++ b/release.nix @@ -48,6 +48,12 @@ let stripHash ${bzip2.src} 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 --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 - ''; }; |