lfs-scripts/scripts/chapter8/8.32-bison.sh
2023-01-11 15:43:49 +05:30

19 lines
221 B
Bash

#!/bin/bash
cd /sources
tar xf bison-3.8.2.tar.xz
cd bison-3.8.2
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.2
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf bison-3.8.2