mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
27 lines
477 B
Bash
27 lines
477 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf dejagnu-1.6.3.tar.gz
|
|
cd dejagnu-1.6.3
|
|
|
|
mkdir -v build
|
|
cd build
|
|
|
|
../configure --prefix=/usr
|
|
makeinfo --html --no-split -o doc/dejagnu.html ../doc/dejagnu.texi
|
|
makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make install
|
|
install -v -dm755 /usr/share/doc/dejagnu-1.6.3
|
|
install -v -m644 doc/dejagnu.{html,txt} /usr/share/doc/dejagnu-1.6.3
|
|
|
|
make check
|
|
|
|
cd /sources
|
|
rm -rf dejagnu-1.6.3
|
|
|