Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
man-pages: provide man-pages-posix (See #273)
Browse files Browse the repository at this point in the history
We need man-pages-posix to fill in the gaps where man-pages
provides glibc related information.

This also renames the directories from man[013]p to man[013]
to avoid having to use makewhatis + the mandoc database.
  • Loading branch information
dylanaraps committed Jul 12, 2021
1 parent 36bfef6 commit dce9f05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
17 changes: 4 additions & 13 deletions extra/man-pages/build
Expand Up @@ -5,19 +5,10 @@

mkdir -p "$1/usr/share/man"

# The sources are set out as follows.
#
# 1. user commands (intro, plus a few other pages)
# 2. system calls
# 3. libc calls
# 4. devices (e.g., hd, sd)
# 5. file formats and configuration files (e.g., wtmp, /etc/passwd)
# 6. games (intro only)
# 7. overviews, conventions, macro packages, etc.
# 8. system administration (intro, plus a few other pages)
#
# Manual pages which relate to glibc or are otherwise provided by
# other packages (tzdata, etc) are excluded.
for i in 0p 1p 3p; do
cp -Rf "posix/man$i" "$1/usr/share/man/man${i%%p}"
done

for i in 2 4 5 7; do
cp -Rf "man$i" "$1/usr/share/man"
done
Expand Down
1 change: 1 addition & 0 deletions extra/man-pages/checksums
@@ -1 +1,2 @@
7af5c960a05a7fac56813fe5bfa564a1c280e934363ae03911b67b0b8e23371e
ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3
1 change: 1 addition & 0 deletions extra/man-pages/sources
@@ -1 +1,2 @@
https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-5.12.tar.xz
https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2017-a.tar.xz posix

0 comments on commit dce9f05

Please sign in to comment.