aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/kbd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/kbd.sh')
-rw-r--r--chapter8/kbd.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/chapter8/kbd.sh b/chapter8/kbd.sh
new file mode 100644
index 0000000..81b369c
--- /dev/null
+++ b/chapter8/kbd.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+patch -Np1 -i ../kbd-"${VERSION}"-backspace-1.patch
+
+sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
+sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
+
+./configure --prefix=/usr --disable-vlock
+
+make
+
+make -j1 install
+
+mkdir -v /usr/share/doc/kbd-"${VERSION}"
+cp -R -v docs/doc/* /usr/share/doc/kbd-"${VERSION}"