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:
parent
0f1ba30626
commit
65c78a3222
1 changed files with 6 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue