aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/sed.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/sed.sh')
-rw-r--r--chapter8/sed.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter8/sed.sh b/chapter8/sed.sh
new file mode 100644
index 0000000..97e8197
--- /dev/null
+++ b/chapter8/sed.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+./configure --prefix=/usr --bindir=/bin
+
+make
+make html
+
+make -j1 install
+
+install -d -m755 /usr/share/doc/sed-"${VERSION}"
+install -m644 doc/sed.html /usr/share/doc/sed-"${VERSION}"