lfs-buildscripts/CH8Build/CH08.01-man-pages.sh

32 lines
469 B
Bash
Raw Normal View History

2024-10-04 13:59:46 +08:00
#!/bin/bash
source versions.sh
GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d man-pages-${man_pages_version} ] && rm -rf man-pages-${man_pages_version}
tar -Jxf ${man_pages_tarball}
cd man-pages-${man_pages_version}
rm -f man3/crypt*
make prefix=/usr install
if [ $? -ne 0 ]; then
myfail "Failed installing man-pages"
fi
2024-10-08 12:28:55 +08:00
popd
# cleanup
pushd $GLSOURCES
rm -rf man-pages-${man_pages_version}
popd