Add 8.3 - Build man-pages

This commit is contained in:
Aditya 2023-01-10 14:45:50 +05:30
parent 57feb5f962
commit 2c927a545b
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#!/bin/bash
cd /sources
tar xf man-pages-5.13.tar.xz
cd man-pages-5.13
make prefix=/usr install
if [ $? -ne 0 ]
then
exit 1
fi

View file

@ -576,3 +576,16 @@ chroot "$LFS" /usr/bin/env -i \
export SCRIPT=/sources/lfs-scripts
# Chapter 8.3
# ===========
echo "Chapter 8"
echo "Building man-pages"
su -c "bash $SCRIPT/chapter8/8.3-man-pages.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.3-man-pages.sh"
fi