From dfcf863edd08361b56e6afd97c524a7d51bfe8ee Mon Sep 17 00:00:00 2001 From: Aditya Date: Thu, 12 Jan 2023 19:35:55 +0530 Subject: [PATCH] Add 8.68 - Build texinfo --- scripts/chapter8/8.68-texinfo.sh | 28 ++++++++++++++++++++++++++++ scripts/main.sh | 12 ++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 scripts/chapter8/8.68-texinfo.sh diff --git a/scripts/chapter8/8.68-texinfo.sh b/scripts/chapter8/8.68-texinfo.sh new file mode 100644 index 0000000..fcadd4d --- /dev/null +++ b/scripts/chapter8/8.68-texinfo.sh @@ -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 diff --git a/scripts/main.sh b/scripts/main.sh index 04bb8c4..87d13d6 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -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 +