mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-10-18 06:59:43 +00:00
Add 8.3 - Build man-pages
This commit is contained in:
parent
57feb5f962
commit
2c927a545b
2 changed files with 26 additions and 0 deletions
13
scripts/chapter8/8.3-man-pages.sh
Normal file
13
scripts/chapter8/8.3-man-pages.sh
Normal 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
|
||||||
|
|
|
@ -576,3 +576,16 @@ chroot "$LFS" /usr/bin/env -i \
|
||||||
|
|
||||||
export SCRIPT=/sources/lfs-scripts
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue