diff options
author | Eric Hameleers <alien@slackware.com> | 2007-03-27 13:58:45 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2007-03-27 13:58:45 +0000 |
commit | 63b3720653e16b259a8ea4266c2ba4deca5726d9 (patch) | |
tree | d28f713c2f32c46291d526feb022200f8b8beb5a /sendxmpp/build/sendxmpp.SlackBuild | |
parent | d0346372e97e67aede05610b8ff7b57983705ebf (diff) | |
download | asb-63b3720653e16b259a8ea4266c2ba4deca5726d9.tar.gz asb-63b3720653e16b259a8ea4266c2ba4deca5726d9.tar.xz |
Fix the man page location
Diffstat (limited to 'sendxmpp/build/sendxmpp.SlackBuild')
-rwxr-xr-x | sendxmpp/build/sendxmpp.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sendxmpp/build/sendxmpp.SlackBuild b/sendxmpp/build/sendxmpp.SlackBuild index 1366aa36..f8f8a319 100755 --- a/sendxmpp/build/sendxmpp.SlackBuild +++ b/sendxmpp/build/sendxmpp.SlackBuild @@ -135,8 +135,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/* -# Compress the man page(s): -find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; +# Move and compress the man page(s): +[ -d $PKG/usr/share/man ] && \ + mv $PKG/usr/share/man $PKG/usr/ && rmdir $PKG/usr/share || true +[ -d $PKG/usr/man ] && \ + find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; # Remove Perl special files and empty directories: cd $PKG |