mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-26 08:52:16 +00:00
abuild: there is no man page section 9
This commit is contained in:
parent
eb0ffe7a8a
commit
042921b798
@ -591,7 +591,7 @@ postcheck() {
|
||||
warning "Found /usr/share/man but package name doesn't end with -doc"
|
||||
fi
|
||||
# check for uncompressed man pages
|
||||
i=$(find "$dir"/usr/share/man -name '*.[0-9]' -type f | sed "s|^$dir|\t|")
|
||||
i=$(find "$dir"/usr/share/man -name '*.[0-8]' -type f | sed "s|^$dir|\t|")
|
||||
if [ -n "$i" ]; then
|
||||
error "Found uncompressed man pages:"
|
||||
echo "$i"
|
||||
@ -1409,7 +1409,7 @@ default_doc() {
|
||||
# compress man pages
|
||||
local previnode= prevname= mandir="$subpkgdir"/usr/share/man
|
||||
[ -d "$mandir" ] && find "$subpkgdir"/usr/share/man \
|
||||
-type f \( -name \*.[0-9n] -o -name \*.[0-9][a-z]* \) \
|
||||
-type f \( -name \*.[0-8n] -o -name \*.[0-8][a-z]* \) \
|
||||
-exec stat -c "%i %n" {} \; | sort -n \
|
||||
| while read inode name; do
|
||||
|
||||
@ -1425,7 +1425,7 @@ default_doc() {
|
||||
prevname="$name"
|
||||
done
|
||||
[ -d "$mandir" ] && find "$subpkgdir"/usr/share/man \
|
||||
-type l \( -name \*.[0-9n] -o -name \*.[0-9][a-z]* \) \
|
||||
-type l \( -name \*.[0-8n] -o -name \*.[0-8][a-z]* \) \
|
||||
| while read symlink; do
|
||||
|
||||
ln -s $(readlink $symlink).gz "$symlink".gz
|
||||
|
Loading…
Reference in New Issue
Block a user