Compress man pages before generating the manifest.

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@787 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2014-03-10 15:43:17 +00:00
parent 078ac6bb4a
commit 925436a04f
1 changed files with 11 additions and 0 deletions

View File

@ -114,6 +114,17 @@ set -e
info "Installing into the temporary directory."
$make install DESTDIR="$tmproot"
#
# Compress man pages
#
find $tmproot -type d -name 'man[0-9]' |
while read mandir ; do
find $mandir -type f -name '*.[0-9]' |
while read manpage ; do
gzip "$manpage"
done
done
#
# Generate stub manifest
#