From 89aa99ec6d1fc70ea9595894af1d756e961d7967 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 3 Sep 2020 15:22:43 +0200 Subject: [PATCH] install man pages --- ap/fd/SlackBuild | 3 +++ ap/hyperfine/SlackBuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ap/fd/SlackBuild b/ap/fd/SlackBuild index c96c114c..1a8b4513 100755 --- a/ap/fd/SlackBuild +++ b/ap/fd/SlackBuild @@ -37,6 +37,9 @@ mkdir -p $PKG$PREFIX/bin cp target/release/$PRGNAM $PKG$PREFIX/bin/ chmod 755 $PKG$PREFIX/bin/* +mkdir -p $PKG$PREFIX/man +cp doc/${PRGNAM}.1 $PKG$PREFIX/man/${PRGNAM}.1 + # move doc/ to the appropriate location mkdir -p $PKG$PREFIX/doc/$PRGNAM cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM diff --git a/ap/hyperfine/SlackBuild b/ap/hyperfine/SlackBuild index 3062bb17..34b8e26e 100755 --- a/ap/hyperfine/SlackBuild +++ b/ap/hyperfine/SlackBuild @@ -41,6 +41,9 @@ chmod 755 $PKG$PREFIX/bin/* mkdir -p $PKG$PREFIX/doc/$PRGNAM cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM +mkdir -p $PKG$PREFIX/man +cp doc/${PRGNAM}.1 $PKG$PREFIX/man/${PRGNAM}.1 + # correction cd $PKG chown -R root:root *