Commit 042921b7 authored by Sören Tempel's avatar Sören Tempel Committed by Natanael Copa

abuild: there is no man page section 9

parent eb0ffe7a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment