mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-09 23:19:44 +00:00
Add 8.68 - Build texinfo
This commit is contained in:
parent
e45140a410
commit
dfcf863edd
2 changed files with 40 additions and 0 deletions
28
scripts/chapter8/8.68-texinfo.sh
Normal file
28
scripts/chapter8/8.68-texinfo.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /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 check
|
||||
|
||||
make install
|
||||
|
||||
make TEXMF=/usr/share/texmf install-tex
|
||||
|
||||
cd /sources
|
||||
rm -rf texinfo-6.8
|
|
@ -1354,3 +1354,15 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Chapter 8.68
|
||||
# ============
|
||||
echo "Building texinfo"
|
||||
su -c "bash $SCRIPT/chapter8/8.68-texinfo.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapter8/8.68-texinfo.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue