diff --git a/scripts/chapter8/8.65-make.sh b/scripts/chapter8/8.65-make.sh new file mode 100644 index 0000000..3daf534 --- /dev/null +++ b/scripts/chapter8/8.65-make.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +cd /sources +tar xf make-4.3.tar.gz +cd make-4.3 + +./configure --prefix=/usr + +if [ $? -ne 0 ] +then + exit 1 +fi + +make -j5 + +if [ $? -ne 0 ] +then + exit 1 +fi + +make check + +make install + +cd /sources +rm -rf make-4.3 diff --git a/scripts/main.sh b/scripts/main.sh index ce6ed58..63f71d7 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -1318,3 +1318,15 @@ then stop_script "chapter8/8.64-libpipeline.sh" fi +# Chapter 8.65 +# ============ +echo "Building make" +su -c "bash $SCRIPT/chapter8/8.65-make.sh" + +# Exit on error +check_exit_code +if [ $exit_status -ne 0 ] +then + stop_script "chapter8/8.65-make.sh" +fi +