Adding a manpage gzipping stage in the fixupPhase. This should go unnoticed,

but for the less disk space used.


svn path=/nixpkgs/branches/stdenv-updates/; revision=26241
This commit is contained in:
Lluís Batlle i Rossell 2011-03-09 20:10:47 +00:00
parent 0f1ba30626
commit 65c78a3222

View file

@ -719,6 +719,12 @@ fixupPhase() {
done;
fi
if test -z "$dontBzipMan"; then
for f in $out/share/man/*/*; do
gzip -c $f > $f.gz && rm $f
done
fi
# TODO: strip _only_ ELF executables, and return || fail here...
if test -z "$dontStrip"; then
stripDebugList=${stripDebugList:-lib lib64 libexec bin sbin}