lfs-scripts/scripts/chapter7/7.8-bison.sh

27 lines
272 B
Bash
Raw Normal View History

2023-01-10 05:03:22 +00:00
#!/bin/bash
2023-01-10 09:03:44 +00:00
cd /sources
2023-01-10 05:03:22 +00:00
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 -j5
if [ $? -ne 0 ]
then
exit 1
fi
make install
cd $LFS/sources
rm -rf bison-3.8.2