diff options
author | Eric Hameleers <alien@slackware.com> | 2009-05-19 18:25:41 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2009-05-19 18:25:41 +0000 |
commit | 58d2dc4a1efdc274965933e47fdee7ed9dc775e4 (patch) | |
tree | 30f981f5a75435fd54957b992d6492f345584d55 /faad2/build | |
parent | 4e929b4d86f0871468e9ae4aba5c013c57abfc77 (diff) | |
download | asb-58d2dc4a1efdc274965933e47fdee7ed9dc775e4.tar.gz asb-58d2dc4a1efdc274965933e47fdee7ed9dc775e4.tar.xz |
Fix man page
Diffstat (limited to 'faad2/build')
-rwxr-xr-x | faad2/build/faad2.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/faad2/build/faad2.SlackBuild b/faad2/build/faad2.SlackBuild index 1c1c9295..3031ed3a 100755 --- a/faad2/build/faad2.SlackBuild +++ b/faad2/build/faad2.SlackBuild @@ -162,7 +162,7 @@ fi # Additionally, install libmp4ff install -m 755 common/mp4ff/libmp4ff.a $PKG/usr/lib${LIBDIRSUFFIX} -install -p common/mp4ff/mp4ff.h $PKG/usr/include/ +install -D common/mp4ff/mp4ff.h $PKG/usr/include/mp4ff.h # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -171,7 +171,10 @@ cat $SRCDIR/$(basename $0) > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 644 {} \; -# Compress the man page(s): +# Fix man page name and compress: +mkdir -p $PKG/usr/man/man1 +mv $PKG/usr/man/manm/faad.man $PKG/usr/man/man1/faad.1 +rmdir $PKG/usr/man/manm if [ -d $PKG/usr/man ]; then find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |