about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-05-07T12·57+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-05-07T12·57+0000
commit404996ca1f2089511b90666ce092377ade830139 (patch)
tree897d87bd57b53a96968aa97f7d3c8bdc5e0b81ca
parent7660e2a0684e57c2f7f014a6f457b7866e2b9e22 (diff)
* Produce the manual in the tarball job.
-rw-r--r--release.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/release.nix b/release.nix
index 50607ba5b279..3f7de2145ee3 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
-        '';
       };