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, 9 insertions, 0 deletions
diff --git a/chapter8/gawk.sh b/chapter8/gawk.sh
index 7a693aa..eb7c111 100644
--- a/chapter8/gawk.sh
+++ b/chapter8/gawk.sh
@@ -1,3 +1,12 @@
#!/bin/bash
+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}"