Tahoe: Install the doc.

svn path=/nixpkgs/trunk/; revision=16676
This commit is contained in:
Ludovic Courtès 2009-08-11 16:26:12 +00:00
parent 4a4f864c6f
commit 775f5b05fc

View file

@ -40,6 +40,18 @@ buildPythonPackage (rec {
# them to run.
doCheck = false;
postInstall = ''
# Install the documentation.
# FIXME: Inkscape setfaults when run from here. Setting $HOME to
# something writable doesn't help; providing $FONTCONFIG_FILE doesn't
# help either. So we just don't run `make' under `docs/'.
ensureDir "$out/share/doc/${name}"
cp -rv "docs/"* "$out/share/doc/${name}"
find "$out/share/doc/${name}" -name Makefile -exec rm -v {} \;
'';
meta = {
description = "Tahoe, a decentralized, fault-tolerant, distributed storage system";