summaryrefslogtreecommitdiff
path: root/games/ifm
diff options
context:
space:
mode:
Diffstat (limited to 'games/ifm')
-rw-r--r--games/ifm/ifm.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/ifm/ifm.SlackBuild b/games/ifm/ifm.SlackBuild
index e50b6a93f1..9d83cd7871 100644
--- a/games/ifm/ifm.SlackBuild
+++ b/games/ifm/ifm.SlackBuild
@@ -63,7 +63,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install DESTDIR=$PKG docdir=$PKG/usr/doc/$PRGNAM-$VERSION
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
@@ -72,7 +72,6 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install