lfs-buildscripts/CH8Build/CH08.01-man-pages.sh
2024-10-07 21:28:55 -07:00

32 lines
469 B
Bash

#!/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
popd
# cleanup
pushd $GLSOURCES
rm -rf man-pages-${man_pages_version}
popd