install man pages

This commit is contained in:
Gwenhael Le Moine 2020-09-03 15:22:43 +02:00
parent 6bf316d31d
commit 89aa99ec6d
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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 *