aboutsummaryrefslogtreecommitdiff
path: root/system/atop
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2018-12-11 00:44:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-11 00:44:24 +0700
commitbe2821064c3b641346bb52f3c6ecfc07193d02a4 (patch)
treeba4edcf6e4906962350415f3594fd4de0adf8e68 /system/atop
parentd6653a87e993652e0f4f391184537d4e0fbc109a (diff)
system/atop: Add man page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/atop')
-rw-r--r--system/atop/atop.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild
index 889f3bcd6541f..2d29833e4c675 100644
--- a/system/atop/atop.SlackBuild
+++ b/system/atop/atop.SlackBuild
@@ -13,7 +13,7 @@
PRGNAM=atop
VERSION=${VERSION:-2.3.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -83,10 +83,11 @@ touch $PKG/var/log/atop/dummy_{before,after}
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
-mkdir -p $PKG/usr/man/man{1,5}
+mkdir -p $PKG/usr/man/man{1,5,8}
gzip -9c man/atop.1 > $PKG/usr/man/man1/atop.1.gz
gzip -9c man/atopsar.1 > $PKG/usr/man/man1/atopsar.1.gz
gzip -9c man/atoprc.5 > $PKG/usr/man/man5/atoprc.5.gz
+gzip -9c man/atopacctd.8 > $PKG/usr/man/man8/atopacctd.8.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a [A-Z][A-Z]* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION