mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-09 15:09:44 +00:00
Add 8.59 - Build groff
This commit is contained in:
parent
2e64b29411
commit
3cc7c2fdda
2 changed files with 36 additions and 0 deletions
24
scripts/chapter8/8.59-groff.sh
Normal file
24
scripts/chapter8/8.59-groff.sh
Normal file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /sources
|
||||
tar xf groff-1.22.4.tar.gz
|
||||
cd groff-1.22.4
|
||||
|
||||
PAGE=A4 ./configure --prefix=/usr
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make -j1
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make install
|
||||
|
||||
cd /sources
|
||||
rm -rf groff-1.22.4
|
|
@ -1246,3 +1246,15 @@ then
|
|||
stop_script "chapter8/8.58-findutils.sh"
|
||||
fi
|
||||
|
||||
# Chapter 8.59
|
||||
# ============
|
||||
echo "Building groff"
|
||||
su -c "bash $SCRIPT/chapter8/8.59-groff.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapter8/8.59-groff.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue