aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/gawk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/gawk.sh')
-rw-r--r--chapter8/gawk.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter8/gawk.sh b/chapter8/gawk.sh
index f30bea4..3a25fc2 100644
--- a/chapter8/gawk.sh
+++ b/chapter8/gawk.sh
@@ -1,13 +1,12 @@
#!/bin/bash
-set -e
sed -i 's/extras//' Makefile.in
-./configure --prefix=/usr
+./configure --prefix=/usr &&
-make
+make &&
-make -j1 install
+make -j1 install &&
-mkdir -v /usr/share/doc/gawk-"${VERSION}"
+mkdir -v /usr/share/doc/gawk-"${VERSION}" &&
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-"${VERSION}"