#!/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