Blind commit about making nvidia-cg-toolkit build for i686-linux

svn path=/nixpkgs/trunk/; revision=32258
This commit is contained in:
Lluís Batlle i Rossell 2012-02-13 13:59:12 +00:00
parent 1a5c12c34c
commit 0a85d5cf98

View file

@ -35,7 +35,8 @@ stdenv.mkDerivation rec {
ensureDir "$out/lib/"
[ "$system" = "x86_64-linux" ] && cp -v lib64/* "$out/lib/"
[ "$system" = "i686-linux" ] && cp -v lib/* "$out/lib/"
for mandir in man1 man3 manCg manCgFX
for mandir in man1 man3 \
${if stdenv.system == "x86_64-linux" then "manCg" else ""} manCgFX
do
ensureDir "$out/share/man/$mandir/"
cp -v share/man/$mandir/* "$out/share/man/$mandir/"