mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-12-22 15:22:56 +00:00
Add 8.45 - Build automake
This commit is contained in:
parent
761c911f5b
commit
9b57c56165
2 changed files with 38 additions and 0 deletions
26
scripts/chapter8/8.45-automake.sh
Normal file
26
scripts/chapter8/8.45-automake.sh
Normal file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /sources
|
||||
tar xf automake-1.16.5.tar.xz
|
||||
cd automake-1.16.5
|
||||
|
||||
./configure --prefix=/usr --docdir=/usr/share/doc/automake-1.16.5
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make -j5
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make -j5 check
|
||||
|
||||
make install
|
||||
|
||||
cd /sources
|
||||
rm -rf automake-1.16.5
|
|
@ -1079,3 +1079,15 @@ then
|
|||
stop_script "chapter8/8.44-autoconf.sh"
|
||||
fi
|
||||
|
||||
# Chapter 8.45
|
||||
# ============
|
||||
echo "Building automake"
|
||||
su -c "bash $SCRIPT/chapter8/8.45-automake.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapter8/8.45-automake.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue