2021-07-12 03:00:10 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
#
|
|
|
|
# The Makefile uses install commands which are incompatible
|
|
|
|
# with busybox's install implementation (specifically -T).
|
|
|
|
|
|
|
|
mkdir -p "$1/usr/share/man"
|
|
|
|
|
2021-07-12 04:26:26 -06:00
|
|
|
for i in 0p 1p 3p; do
|
|
|
|
cp -Rf "posix/man$i" "$1/usr/share/man/man${i%%p}"
|
|
|
|
done
|
|
|
|
|
2022-10-14 15:17:42 -06:00
|
|
|
for i in man*; do
|
2022-10-24 17:46:01 -06:00
|
|
|
[ -d "$i" ] || continue
|
2022-10-14 15:17:42 -06:00
|
|
|
cp -Rf "$i" "$1/usr/share/man"
|
2021-07-12 03:00:10 -06:00
|
|
|
done
|
|
|
|
|
|
|
|
# Provided by mandoc.
|
|
|
|
rm -f "$1/usr/share/man/man7/man.7"
|
|
|
|
|
|
|
|
# Provided by tzdata.
|
2022-10-13 04:08:14 -06:00
|
|
|
rm -f \
|
|
|
|
"$1/usr/share/man/man5/tzfile.5" \
|
|
|
|
"$1/usr/share/man/man8/tzselect.8" \
|
|
|
|
"$1/usr/share/man/man8/zdump.8" \
|
|
|
|
"$1/usr/share/man/man8/zic.8"
|