diff options
author | B. Watson <yalhcru@gmail.com> | 2022-01-28 11:59:09 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-30 08:36:01 +0700 |
commit | 2cd8c26b45fc16936767281e7cbced1750c260b7 (patch) | |
tree | 89cf59576aa0ea2dd04929ab920bfd25ca2a424f /network/sntpc | |
parent | 853b2bc1d29b9a35d5f86a6b536a0c1b030c8d84 (diff) |
network/sntpc: Add man page.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/sntpc')
-rw-r--r-- | network/sntpc/sntpc.8 (renamed from network/sntpc/sntpc.1) | 6 | ||||
-rw-r--r-- | network/sntpc/sntpc.SlackBuild | 3 | ||||
-rw-r--r-- | network/sntpc/sntpc.rst | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/network/sntpc/sntpc.1 b/network/sntpc/sntpc.8 index 1bdf3d638f794..26c7401115287 100644 --- a/network/sntpc/sntpc.1 +++ b/network/sntpc/sntpc.8 @@ -27,12 +27,12 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SNTPC" 1 "2022-01-26" "20181113_1ca1d00" "SlackBuilds.org" +.TH "SNTPC" 1 "2022-01-28" "20181113_1ca1d00" "SlackBuilds.org" .SH NAME sntpc \- Network Time Protocol client -.\" RST source for sntpc(1) man page. Convert with: +.\" RST source for sntpc(8) man page. Convert with: . -.\" rst2man.py sntpc.rst > sntpc.1 +.\" rst2man.py sntpc.rst > sntpc.8 . .\" rst2man.py comes from the SBo development/docutils package. . diff --git a/network/sntpc/sntpc.SlackBuild b/network/sntpc/sntpc.SlackBuild index 70659d201804b..07186323f7bc8 100644 --- a/network/sntpc/sntpc.SlackBuild +++ b/network/sntpc/sntpc.SlackBuild @@ -61,8 +61,9 @@ patch -p1 < $CWD/compilefix.diff make CFLAGS="$SLKCFLAGS -Wall -Wl,-s" LDFLAGS="-lbsd" -mkdir -p $PKG/usr/sbin +mkdir -p $PKG/usr/sbin $PKG/usr/man/man8 cp -a $PRGNAM $PKG/usr/sbin +gzip -9c < $CWD/$PRGNAM.8 > $PKG/usr/man/man8/$PRGNAM.8.gz PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKGDOC diff --git a/network/sntpc/sntpc.rst b/network/sntpc/sntpc.rst index b040bb7da6dc8..7b326eb1b5628 100644 --- a/network/sntpc/sntpc.rst +++ b/network/sntpc/sntpc.rst @@ -1,5 +1,5 @@ -.. RST source for sntpc(1) man page. Convert with: -.. rst2man.py sntpc.rst > sntpc.1 +.. RST source for sntpc(8) man page. Convert with: +.. rst2man.py sntpc.rst > sntpc.8 .. rst2man.py comes from the SBo development/docutils package. .. |version| replace:: 20181113_1ca1d00 |