aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/gawk.sh
blob: f30bea4fffc170647dcc263be1a20a0e59c0aa46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e

sed -i 's/extras//' Makefile.in

./configure --prefix=/usr

make

make -j1 install

mkdir -v /usr/share/doc/gawk-"${VERSION}"
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-"${VERSION}"