summaryrefslogtreecommitdiffstats
path: root/office/mdp
diff options
context:
space:
mode:
Diffstat (limited to 'office/mdp')
-rw-r--r--office/mdp/mdp.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/office/mdp/mdp.SlackBuild b/office/mdp/mdp.SlackBuild
index a47d4925b4..5ccc7f46c1 100644
--- a/office/mdp/mdp.SlackBuild
+++ b/office/mdp/mdp.SlackBuild
@@ -83,6 +83,11 @@ make install \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mv $PKG/usr/share/man $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+rmdir $PKG/usr/share
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp AUTHORS COPYING CREDITS mdp.sublime-project README.md sample.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild