lfs-scripts/scripts/chapter8/8.45-automake.sh
2023-01-12 14:12:53 +05:30

26 lines
285 B
Bash

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