mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Add 7.11 - Build texinfo
This commit is contained in:
parent
89459cacea
commit
a5863e0991
2 changed files with 37 additions and 0 deletions
25
scripts/chapter7/7.11-texinfo.sh
Normal file
25
scripts/chapter7/7.11-texinfo.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd $LFS/sources
|
||||
tar xf texinfo-6.8.tar.xz
|
||||
cd texinfo-6.8
|
||||
|
||||
./configure --prefix=/usr
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make -j5
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make install
|
||||
|
||||
cd $LFS/sources
|
||||
rm -rf texinfo-6.8
|
||||
|
|
@ -505,3 +505,15 @@ then
|
|||
stop_script "chapter7/7.10-Python.sh"
|
||||
fi
|
||||
|
||||
# Chapter 7.11
|
||||
# ============
|
||||
echo "Building texinfo"
|
||||
su -c "bash $PWD/chapter7/7.11-texinfo.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapter7/7.11-texinfo.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue